#D237B1#D237B1

#D237B1 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.1% C 0.226 H 338.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D237B1
RGBrgb(210, 55, 177)
HSLhsl(313, 63%, 52%)
HSVhsv(313, 74%, 82%)
CMYKcmyk(0%, 73.8%, 15.7%, 17.6%)
CIE-LABlab(51.40, 70.87, -31.08)
CIE-LCHlch(51.40, 77.38, 336.32°)
OKLaboklab(61.1% 0.2098 -0.0843)
OKLCHoklch(61.1% 0.226 338.1)
XYZxyz(35.8811, 19.6118, 43.4822)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237B1 #37D258
analogous
#A537D2 #D237B1 #D23764
triadic
#D237B1 #B1D237 #37B1D2
tetradic
#D237B1 #D2A537 #37D258 #3764D2
square
#D237B1 #D2A537 #37D258 #3764D2
split-complementary
#D237B1 #64D237 #37D2A5
monochromatic
#741A61 #A6258B #D237B1 #DD69C4 #E89BD8

Accessibility & contrast

On white

4.27
#D237B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D237B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237B1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237B1#FFFFFF#000000##000000
##D237B11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#7283AD
Tritanopia (blue-blind)
#DE3F70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d237b1;
/* rgb */ color: rgb(210, 55, 177);
/* oklch */ color: oklch(61.1% 0.226 338.1);
Tailwind
colors: {
  custom: {
    50: '#e47dc8',
    500: '#d237b1',
    950: '#000000',
  },
}
SCSS
$custom: #d237b1;
$custom-light: #e47dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#d237b1",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 312.774,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.22611,
    "h": 338.1
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#D237B1
secondary
#90D49F
accent
#E66541
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D237B1

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

Preview Lab → · Contrast checker → · Palette generator →

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