#D237BA#D237BA

#D237BA is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.5% C 0.232 H 335.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D237BA
RGBrgb(210, 55, 186)
HSLhsl(309, 63%, 52%)
HSVhsv(309, 74%, 82%)
CMYKcmyk(0%, 73.8%, 11.4%, 17.6%)
CIE-LABlab(51.82, 72.13, -35.67)
CIE-LCHlch(51.82, 80.47, 333.69°)
OKLaboklab(61.54% 0.2107 -0.0975)
OKLCHoklch(61.54% 0.232 335.2)
XYZxyz(36.8079, 19.9825, 48.3633)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D237BA #37D24F
analogous
#9C37D2 #D237BA #D2376D
triadic
#D237BA #BAD237 #37BAD2
tetradic
#D237BA #D29C37 #37D24F #376DD2
square
#D237BA #D29C37 #37D24F #376DD2
split-complementary
#D237BA #6DD237 #37D29C
monochromatic
#741A66 #A62592 #D237BA #DD69CB #E89BDC

Accessibility & contrast

On white

4.20
#D237BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D237BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D237BA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D237BA#FFFFFF#000000##000000
##D237BA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#376DBE
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#DC4475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d237ba;
/* rgb */ color: rgb(210, 55, 186);
/* oklch */ color: oklch(61.5% 0.232 335.2);
Tailwind
colors: {
  custom: {
    50: '#e47dcf',
    500: '#d237ba',
    950: '#000000',
  },
}
SCSS
$custom: #d237ba;
$custom-light: #e47dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#d237ba",
  "rgb": {
    "r": 210,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 309.29,
    "s": 63.265,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.23211,
    "h": 335.2
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#D237BA
secondary
#90D49B
accent
#E65B41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D237BA

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

Preview Lab → · Contrast checker → · Palette generator →

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