#D02F45#D02F45

#D02F45 is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.6% C 0.196 H 19.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D02F45
RGBrgb(208, 47, 69)
HSLhsl(352, 63%, 50%)
HSVhsv(352, 77%, 82%)
CMYKcmyk(0%, 77.4%, 66.8%, 18.4%)
CIE-LABlab(46.81, 62.37, 27.37)
CIE-LCHlch(46.81, 68.11, 23.69°)
OKLaboklab(56.58% 0.1846 0.0645)
OKLCHoklch(56.58% 0.196 19.3)
XYZxyz(28.1062, 15.8769, 7.2137)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02F45 #2FD0BA
analogous
#D02F96 #D02F45 #D0692F
triadic
#D02F45 #45D02F #2F45D0
tetradic
#D02F45 #96D02F #2FD0BA #692FD0
square
#D02F45 #96D02F #2FD0BA #692FD0
split-complementary
#D02F45 #2FD069 #2F96D0
monochromatic
#6C1824 #9E2434 #D02F45 #DB6172 #E7939E

Accessibility & contrast

On white

5.03
#D02F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#D02F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02F45
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02F45#FFFFFF#000000##FFFFFF
##D02F451.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5945
Deuteranopia (green-blind)
#877B40
Tritanopia (blue-blind)
#E40039
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d02f45;
/* rgb */ color: rgb(208, 47, 69);
/* oklch */ color: oklch(56.6% 0.196 19.3);
Tailwind
colors: {
  custom: {
    50: '#e77678',
    500: '#d02f45',
    950: '#000000',
  },
}
SCSS
$custom: #d02f45;
$custom-light: #e77678;
$custom-dark: #000000;
JSON
{
  "hex": "#d02f45",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 351.801,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.19556,
    "h": 19.3
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#D02F45
secondary
#89D1C8
accent
#E6D042
background
#FFF7F7
surface
#FFEEED
border
#D7C9C8
text
#180A09
muted
#867C7B

Preview Lab

Preview with #D02F45

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

Preview Lab → · Contrast checker → · Palette generator →

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