CSS named color
Tomato #FF6347
Tomato (CSS keyword tomato) has the hex code #FF6347 and the RGB value rgb(255, 99, 71): a medium, vivid red-orange.
A bright red-orange (#ff6347) like a ripe tomato, slightly redder than coral. Often used for warnings and destructive actions that should not look as harsh as pure red.
Color codes for Tomato
| CSS keyword | tomato |
|---|---|
| HEX | #FF6347 |
| RGB | rgb(255, 99, 71) |
| HSL | hsl(9, 100%, 64%) |
| HWB | hwb(9 28% 0%) |
| OKLCH | oklch(69.6% 0.196 32.3) |
| CMYK (naive, no ICC profile) | cmyk(0%, 61%, 72%, 0%) |
| Decimal | 16,737,095 |
| Hue family | Oranges |
Contrast and accessibility
On tomato, black text has a contrast ratio of 7.12:1 and passes AAA at any text size; white text reaches 2.94:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on tomato | 7.12:1 | Pass | Pass | Pass | Pass | 49.0 |
| White text on tomato | 2.94:1 | Fail | Fail | Fail | Fail | −60.3 |
| Tomato text on white | 2.94:1 | Fail | Fail | Fail | Fail | 55.0 |
| Tomato text on black | 7.12:1 | Pass | Pass | Pass | Pass | −46.8 |
Tints and shades
Each step mixes tomato with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, tomato, white 25%) in CSS.
Tints (mixed with white)
- 5%
#ff6b50 - 15%
#ff7a63 - 25%
#ff8a75 - 35%
#ff9a87 - 45%
#ffa99a - 55%
#ffb9ac - 65%
#ffc8bf - 75%
#ffd8d1 - 85%
#ffe8e3 - 95%
#fff7f6
Shades (mixed with black)
- 5%
#f25e43 - 15%
#d9543c - 25%
#bf4a35 - 35%
#a6402e - 45%
#8c3627 - 55%
#732d20 - 65%
#592319 - 75%
#401912 - 85%
#260f0b - 95%
#0d0504
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, tomato's complementary color is #00B3D0 (close to lightseagreen), its analogous colors are #F95D93 and #E97D00, and its triadic partners are #00BE5C and #7891FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #00b3d0 |
| Analogous | −30°, +30° | #f95d93#e97d00 |
| Triadic | +120°, +240° | #00be5c#7891ff |
| Split-complementary | +150°, +210° | #00b9a5#00a6ff |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Tomato is a warm color: its hue is 9° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
Nearest Tailwind v4 colors
| Color | HEX | ΔE OK |
|---|---|---|
| red-400 | #ff6467 | 3.5 |
| orange-500 | #ff6900 | 5.8 |
| orange-600 | #f54900 | 6.5 |
Code snippets
.element {
color: tomato;
background-color: #ff6347;
border-color: rgb(255 99 71);
outline-color: oklch(69.6% 0.196 32.3);
}<div class="bg-[#ff6347] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-tomato: #ff6347;
}
/* then use bg-tomato, text-tomato, border-tomato */import SwiftUI
extension Color {
static let tomato = Color(red: 1.000, green: 0.388, blue: 0.278)
}import androidx.compose.ui.graphics.Color
val Tomato = Color(0xFFFF6347)import 'package:flutter/material.dart';
const tomato = Color(0xFFFF6347);<!-- res/values/colors.xml -->
<color name="tomato">#FF6347</color>Frequently asked questions
- What is the hex code for tomato?
- The hex code for tomato is #FF6347. The same color is rgb(255, 99, 71), hsl(9, 100%, 64%) and oklch(69.6% 0.196 32.3), and in CSS you can also write the keyword tomato directly.
- Is tomato a warm or cool color?
- Tomato is a warm color: its hue is 9° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
- What colors go with tomato?
- Rotating the hue in OKLCH while keeping lightness and chroma, tomato's complementary color is #00B3D0 (close to lightseagreen), its analogous colors are #F95D93 and #E97D00, and its triadic partners are #00BE5C and #7891FF. For text on top, black gives the higher contrast.
- Can you use white text on tomato?
- White text on tomato has a contrast ratio of 2.94:1, which fails AA even for large text under WCAG 2.2. Black text reaches 7.12:1 and passes both AA and AAA. In APCA terms that is Lc −60.3 for white and Lc 49.0 for black.
- What is the RGB value of tomato?
- Tomato is rgb(255, 99, 71): red 255, green 99 and blue 71 on the 0 to 255 scale, or 100.0%, 38.8% and 27.8%. As a decimal integer it is 16737095.
Last reviewed by Arielton Oberek.