#D22F6B#D22F6B

#D22F6B is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.8% C 0.201 H 4.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#D22F6B
RGBrgb(210, 47, 107)
HSLhsl(338, 64%, 50%)
HSVhsv(338, 78%, 82%)
CMYKcmyk(0%, 77.6%, 49%, 17.6%)
CIE-LABlab(48.01, 65.49, 5.80)
CIE-LCHlch(48.01, 65.74, 5.06°)
OKLaboklab(57.8% 0.2005 0.0154)
OKLCHoklch(57.8% 0.201 4.4)
XYZxyz(30.2513, 16.8004, 15.5569)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22F6B #2FD296
analogous
#D22FBD #D22F6B #D2442F
triadic
#D22F6B #6BD22F #2F6BD2
tetradic
#D22F6B #BDD22F #2FD296 #442FD2
square
#D22F6B #BDD22F #2FD296 #442FD2
split-complementary
#D22F6B #2FD244 #2FBDD2
monochromatic
#6F1838 #A12351 #D22F6B #DD618F #E894B3

Accessibility & contrast

On white

4.82
#D22F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#D22F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D22F6B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22F6B#FFFFFF#000000##FFFFFF
##D22F6B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E6C
Deuteranopia (green-blind)
#837D67
Tritanopia (blue-blind)
#E50049
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d22f6b;
/* rgb */ color: rgb(210, 47, 107);
/* oklch */ color: oklch(57.8% 0.201 4.4);
Tailwind
colors: {
  custom: {
    50: '#e67795',
    500: '#d22f6b',
    950: '#000000',
  },
}
SCSS
$custom: #d22f6b;
$custom-light: #e67795;
$custom-dark: #000000;
JSON
{
  "hex": "#d22f6b",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 337.914,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.20107,
    "h": 4.4
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#D22F6B
secondary
#8AD3B8
accent
#E7AA40
background
#FFF7F9
surface
#FEEEF1
border
#D6C9CB
text
#170A0D
muted
#857C7E

Preview Lab

Preview with #D22F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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