#D42F51#D42F51

#D42F51 is a mid, vivid red. Relative luminance 0.166; OKLCH L 57.5% C 0.199 H 15.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D42F51
RGBrgb(212, 47, 81)
HSLhsl(348, 66%, 51%)
HSVhsv(348, 78%, 83%)
CMYKcmyk(0%, 77.8%, 61.8%, 16.9%)
CIE-LABlab(47.79, 64.18, 21.49)
CIE-LCHlch(47.79, 67.68, 18.51°)
OKLaboklab(57.51% 0.1923 0.0522)
OKLCHoklch(57.51% 0.199 15.2)
XYZxyz(29.6562, 16.6286, 9.4311)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42F51 #2FD4B2
analogous
#D42FA4 #D42F51 #D45F2F
triadic
#D42F51 #51D42F #2F51D4
tetradic
#D42F51 #A4D42F #2FD4B2 #5F2FD4
square
#D42F51 #A4D42F #2FD4B2 #5F2FD4
split-complementary
#D42F51 #2FD45F #2FA4D4
monochromatic
#71172A #A4223D #D42F51 #DE627B #E994A6

Accessibility & contrast

On white

4.86
#D42F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#D42F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D42F51
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42F51#FFFFFF#000000##FFFFFF
##D42F511.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5C51
Deuteranopia (green-blind)
#887E4C
Tritanopia (blue-blind)
#E8003E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42f51;
/* rgb */ color: rgb(212, 47, 81);
/* oklch */ color: oklch(57.5% 0.199 15.2);
Tailwind
colors: {
  custom: {
    50: '#e97781',
    500: '#d42f51',
    950: '#000000',
  },
}
SCSS
$custom: #d42f51;
$custom-light: #e97781;
$custom-dark: #000000;
JSON
{
  "hex": "#d42f51",
  "rgb": {
    "r": 212,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 347.636,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.19927,
    "h": 15.2
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#D42F51
secondary
#8BD4C5
accent
#E9C63F
background
#FFF7F7
surface
#FFEEEE
border
#D7C9C9
text
#180A0A
muted
#867C7C

Preview Lab

Preview with #D42F51

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

Preview Lab → · Contrast checker → · Palette generator →

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