#D237AB#D237AB

#D237AB is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.222 H 340.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#D237AB
RGBrgb(210, 55, 171)
HSLhsl(315, 63%, 52%)
HSVhsv(315, 74%, 82%)
CMYKcmyk(0%, 73.8%, 18.6%, 17.6%)
CIE-LABlab(51.13, 70.05, -27.98)
CIE-LCHlch(51.13, 75.43, 338.23°)
OKLaboklab(60.81% 0.209 -0.0755)
OKLCHoklch(60.81% 0.222 340.1)
XYZxyz(35.2962, 19.3778, 40.4016)
Luminance0.1937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237AB #37D25E
analogous
#AC37D2 #D237AB #D2375E
triadic
#D237AB #ABD237 #37ABD2
tetradic
#D237AB #D2AC37 #37D25E #375ED2
square
#D237AB #D2AC37 #37D25E #375ED2
split-complementary
#D237AB #5ED237 #37D2AC
monochromatic
#741A5E #A62586 #D237AB #DD69C0 #E89BD5

Accessibility & contrast

On white

4.31
#D237AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D237AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237AB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237AB#FFFFFF#000000##000000
##D237AB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#DE3C6D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d237ab;
/* rgb */ color: rgb(210, 55, 171);
/* oklch */ color: oklch(60.8% 0.222 340.1);
Tailwind
colors: {
  custom: {
    50: '#e47dc4',
    500: '#d237ab',
    950: '#000000',
  },
}
SCSS
$custom: #d237ab;
$custom-light: #e47dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d237ab",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 315.097,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.22227,
    "h": 340.1
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#D237AB
secondary
#90D4A2
accent
#E66B41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D237AB

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

Preview Lab → · Contrast checker → · Palette generator →

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