#D238A2#D238A2

#D238A2 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.5% C 0.216 H 343.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#D238A2
RGBrgb(210, 56, 162)
HSLhsl(319, 63%, 52%)
HSVhsv(319, 73%, 82%)
CMYKcmyk(0%, 73.3%, 22.9%, 17.6%)
CIE-LABlab(50.85, 68.56, -23.10)
CIE-LCHlch(50.85, 72.35, 341.38°)
OKLaboklab(60.49% 0.2067 -0.0618)
OKLCHoklch(60.49% 0.216 343.4)
XYZxyz(34.5154, 19.1422, 36.0525)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238A2 #38D268
analogous
#B538D2 #D238A2 #D23855
triadic
#D238A2 #A2D238 #38A2D2
tetradic
#D238A2 #D2B538 #38D268 #3855D2
square
#D238A2 #D2B538 #38D268 #3855D2
split-complementary
#D238A2 #55D238 #38D2B5
monochromatic
#751A59 #A7267F #D238A2 #DD6AB9 #E99CD1

Accessibility & contrast

On white

4.35
#D238A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#D238A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238A2#FFFFFF#000000##000000
##D238A21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#DF3869
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d238a2;
/* rgb */ color: rgb(210, 56, 162);
/* oklch */ color: oklch(60.5% 0.216 343.4);
Tailwind
colors: {
  custom: {
    50: '#e47dbd',
    500: '#d238a2',
    950: '#000000',
  },
}
SCSS
$custom: #d238a2;
$custom-light: #e47dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d238a2",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 318.701,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.2157,
    "h": 343.4
  },
  "luminance": 0.19139
}

Semantic roles & 50–950 ramp

primary
#D238A2
secondary
#91D5A6
accent
#E67542
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D238A2

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

Preview Lab → · Contrast checker → · Palette generator →

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