#D04262#D04262

#D04262 is a mid, vivid red. Relative luminance 0.182; OKLCH L 58.9% C 0.178 H 11.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#D04262
RGBrgb(208, 66, 98)
HSLhsl(346, 60%, 54%)
HSVhsv(346, 68%, 82%)
CMYKcmyk(0%, 68.3%, 52.9%, 18.4%)
CIE-LABlab(49.73, 57.75, 13.66)
CIE-LCHlch(49.73, 59.35, 13.30°)
OKLaboklab(58.93% 0.1749 0.0346)
OKLCHoklch(58.93% 0.178 11.2)
XYZxyz(30.1679, 18.1922, 13.4758)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04262 #42D0B0
analogous
#D042A9 #D04262 #D06942
triadic
#D04262 #62D042 #4262D0
tetradic
#D04262 #A9D042 #42D0B0 #6942D0
square
#D04262 #A9D042 #42D0B0 #6942D0
split-complementary
#D04262 #42D069 #42A9D0
monochromatic
#791E33 #AA2A47 #D04262 #DC738B #E8A4B3

Accessibility & contrast

On white

4.53
#D04262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#D04262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04262
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04262#FFFFFF#000000##000000
##D042621.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#646462
Deuteranopia (green-blind)
#89815F
Tritanopia (blue-blind)
#E3264F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d04262;
/* rgb */ color: rgb(208, 66, 98);
/* oklch */ color: oklch(58.9% 0.178 11.2);
Tailwind
colors: {
  custom: {
    50: '#e47f8e',
    500: '#d04262',
    950: '#000000',
  },
}
SCSS
$custom: #d04262;
$custom-light: #e47f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d04262",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 346.479,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.17826,
    "h": 11.2
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#D04262
secondary
#99D5C8
accent
#E3C044
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #D04262

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D04262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva