#D42F50#D42F50

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

Color values

HEX#D42F50
RGBrgb(212, 47, 80)
HSLhsl(348, 66%, 51%)
HSVhsv(348, 78%, 83%)
CMYKcmyk(0%, 77.8%, 62.3%, 16.9%)
CIE-LABlab(47.77, 64.12, 22.07)
CIE-LCHlch(47.77, 67.81, 19.00°)
OKLaboklab(57.49% 0.1919 0.0535)
OKLCHoklch(57.49% 0.199 15.6)
XYZxyz(29.6190, 16.6137, 9.2350)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42F50 #2FD4B3
analogous
#D42FA2 #D42F50 #D4602F
triadic
#D42F50 #50D42F #2F50D4
tetradic
#D42F50 #A2D42F #2FD4B3 #602FD4
square
#D42F50 #A2D42F #2FD4B3 #602FD4
split-complementary
#D42F50 #2FD460 #2FA2D4
monochromatic
#711729 #A4223C #D42F50 #DE627B #E994A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D42F50#FFFFFF#000000##FFFFFF
##D42F501.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)
#5F5B50
Deuteranopia (green-blind)
#887E4B
Tritanopia (blue-blind)
#E8003D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d42f50;
/* rgb */ color: rgb(212, 47, 80);
/* oklch */ color: oklch(57.5% 0.199 15.6);
Tailwind
colors: {
  custom: {
    50: '#e97780',
    500: '#d42f50',
    950: '#000000',
  },
}
SCSS
$custom: #d42f50;
$custom-light: #e97780;
$custom-dark: #000000;
JSON
{
  "hex": "#d42f50",
  "rgb": {
    "r": 212,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 348,
    "s": 65.737,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.19924,
    "h": 15.6
  },
  "luminance": 0.16609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D42F50

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

Preview Lab → · Contrast checker → · Palette generator →

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