#D238A9#D238A9

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

Color values

HEX#D238A9
RGBrgb(210, 56, 169)
HSLhsl(316, 63%, 52%)
HSVhsv(316, 73%, 82%)
CMYKcmyk(0%, 73.3%, 19.5%, 17.6%)
CIE-LABlab(51.15, 69.47, -26.77)
CIE-LCHlch(51.15, 74.45, 338.93°)
OKLaboklab(60.8% 0.2078 -0.0721)
OKLCHoklch(60.8% 0.22 340.9)
XYZxyz(35.1550, 19.3981, 39.4212)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238A9 #38D261
analogous
#AE38D2 #D238A9 #D2385C
triadic
#D238A9 #A9D238 #38A9D2
tetradic
#D238A9 #D2AE38 #38D261 #385CD2
square
#D238A9 #D2AE38 #38D261 #385CD2
split-complementary
#D238A9 #5CD238 #38D2AE
monochromatic
#751A5D #A72685 #D238A9 #DD6ABF #E99CD4

Accessibility & contrast

On white

4.30
#D238A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D238A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238A9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238A9#FFFFFF#000000##000000
##D238A91.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#DF3C6C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d238a9;
/* rgb */ color: rgb(210, 56, 169);
/* oklch */ color: oklch(60.8% 0.220 340.9);
Tailwind
colors: {
  custom: {
    50: '#e47dc3',
    500: '#d238a9',
    950: '#000000',
  },
}
SCSS
$custom: #d238a9;
$custom-light: #e47dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d238a9",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 315.974,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60802,
    "c": 0.21996,
    "h": 340.9
  },
  "luminance": 0.19395
}

Semantic roles & 50–950 ramp

primary
#D238A9
secondary
#91D5A3
accent
#E66D42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D238A9

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

Preview Lab → · Contrast checker → · Palette generator →

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