#D22F62#D22F62

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

Color values

HEX#D22F62
RGBrgb(210, 47, 98)
HSLhsl(341, 64%, 50%)
HSVhsv(341, 78%, 82%)
CMYKcmyk(0%, 77.6%, 53.3%, 17.6%)
CIE-LABlab(47.78, 64.78, 11.00)
CIE-LCHlch(47.78, 65.70, 9.64°)
OKLaboklab(57.55% 0.1972 0.0281)
OKLCHoklch(57.55% 0.199 8.1)
XYZxyz(29.8023, 16.6208, 13.1917)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22F62 #2FD29F
analogous
#D22FB3 #D22F62 #D24D2F
triadic
#D22F62 #62D22F #2F62D2
tetradic
#D22F62 #B3D22F #2FD29F #4D2FD2
square
#D22F62 #B3D22F #2FD29F #4D2FD2
split-complementary
#D22F62 #2FD24D #2FB3D2
monochromatic
#6F1833 #A1234A #D22F62 #DD6188 #E894AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D22F62#FFFFFF#000000##FFFFFF
##D22F621.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)
#5A5D63
Deuteranopia (green-blind)
#857D5E
Tritanopia (blue-blind)
#E50045
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #d22f62;
/* rgb */ color: rgb(210, 47, 98);
/* oklch */ color: oklch(57.6% 0.199 8.1);
Tailwind
colors: {
  custom: {
    50: '#e7778e',
    500: '#d22f62',
    950: '#000000',
  },
}
SCSS
$custom: #d22f62;
$custom-light: #e7778e;
$custom-dark: #000000;
JSON
{
  "hex": "#d22f62",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 341.227,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57553,
    "c": 0.19923,
    "h": 8.1
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#D22F62
secondary
#8AD3BC
accent
#E7B340
background
#FFF7F8
surface
#FEEEF0
border
#D6C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #D22F62

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

Preview Lab → · Contrast checker → · Palette generator →

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