#D02F34#D02F34

#D02F34 is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.3% C 0.197 H 24.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D02F34
RGBrgb(208, 47, 52)
HSLhsl(358, 63%, 50%)
HSVhsv(358, 77%, 82%)
CMYKcmyk(0%, 77.4%, 75%, 18.4%)
CIE-LABlab(46.57, 61.60, 37.13)
CIE-LCHlch(46.57, 71.92, 31.08°)
OKLaboklab(56.33% 0.1785 0.0829)
OKLCHoklch(56.33% 0.197 24.9)
XYZxyz(27.6520, 15.6952, 4.8216)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02F34 #2FD0CB
analogous
#D02F84 #D02F34 #D07B2F
triadic
#D02F34 #34D02F #2F34D0
tetradic
#D02F34 #84D02F #2FD0CB #7B2FD0
square
#D02F34 #84D02F #2FD0CB #7B2FD0
split-complementary
#D02F34 #2FD07B #2F84D0
monochromatic
#6C181B #9E2428 #D02F34 #DB6165 #E79395

Accessibility & contrast

On white

5.07
#D02F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#D02F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02F34
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02F34#FFFFFF#000000##FFFFFF
##D02F341.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615832
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#E50033
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d02f34;
/* rgb */ color: rgb(208, 47, 52);
/* oklch */ color: oklch(56.3% 0.197 24.9);
Tailwind
colors: {
  custom: {
    50: '#e8766c',
    500: '#d02f34',
    950: '#000000',
  },
}
SCSS
$custom: #d02f34;
$custom-light: #e8766c;
$custom-dark: #000000;
JSON
{
  "hex": "#d02f34",
  "rgb": {
    "r": 208,
    "g": 47,
    "b": 52
  },
  "hsl": {
    "h": 358.137,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.1968,
    "h": 24.9
  },
  "luminance": 0.15691
}

Semantic roles & 50–950 ramp

primary
#D02F34
secondary
#89D1CF
accent
#E6E142
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180907
muted
#867B7A

Preview Lab

Preview with #D02F34

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

Preview Lab → · Contrast checker → · Palette generator →

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