#D22F6C#D22F6C

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

Color values

HEX#D22F6C
RGBrgb(210, 47, 108)
HSLhsl(338, 64%, 50%)
HSVhsv(338, 78%, 82%)
CMYKcmyk(0%, 77.6%, 48.6%, 17.6%)
CIE-LABlab(48.03, 65.57, 5.23)
CIE-LCHlch(48.03, 65.78, 4.56°)
OKLaboklab(57.83% 0.2008 0.014)
OKLCHoklch(57.83% 0.201 4)
XYZxyz(30.3043, 16.8216, 15.8356)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D22F6C #2FD295
analogous
#D22FBD #D22F6C #D2432F
triadic
#D22F6C #6CD22F #2F6CD2
tetradic
#D22F6C #BDD22F #2FD295 #432FD2
square
#D22F6C #BDD22F #2FD295 #432FD2
split-complementary
#D22F6C #2FD243 #2FBDD2
monochromatic
#6F1838 #A12352 #D22F6C #DD6190 #E894B3

Accessibility & contrast

On white

4.81
#D22F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D22F6C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D22F6C#FFFFFF#000000##FFFFFF
##D22F6C1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585E6D
Deuteranopia (green-blind)
#837D68
Tritanopia (blue-blind)
#E5004A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #d22f6c;
/* rgb */ color: rgb(210, 47, 108);
/* oklch */ color: oklch(57.8% 0.201 4.0);
Tailwind
colors: {
  custom: {
    50: '#e67795',
    500: '#d22f6c',
    950: '#000000',
  },
}
SCSS
$custom: #d22f6c;
$custom-light: #e67795;
$custom-dark: #000000;
JSON
{
  "hex": "#d22f6c",
  "rgb": {
    "r": 210,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 337.546,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.20132,
    "h": 4
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D22F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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