#D238A4#D238A4

#D238A4 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.6% C 0.217 H 342.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#D238A4
RGBrgb(210, 56, 164)
HSLhsl(318, 63%, 52%)
HSVhsv(318, 73%, 82%)
CMYKcmyk(0%, 73.3%, 21.9%, 17.6%)
CIE-LABlab(50.94, 68.82, -24.15)
CIE-LCHlch(50.94, 72.93, 340.66°)
OKLaboklab(60.58% 0.207 -0.0647)
OKLCHoklch(60.58% 0.217 342.6)
XYZxyz(34.6946, 19.2139, 36.9963)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238A4 #38D266
analogous
#B338D2 #D238A4 #D23857
triadic
#D238A4 #A4D238 #38A4D2
tetradic
#D238A4 #D2B338 #38D266 #3857D2
square
#D238A4 #D2B338 #38D266 #3857D2
split-complementary
#D238A4 #57D238 #38D2B3
monochromatic
#751A5A #A72680 #D238A4 #DD6ABB #E99CD2

Accessibility & contrast

On white

4.34
#D238A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#D238A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238A4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238A4#FFFFFF#000000##000000
##D238A41.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#7782A0
Tritanopia (blue-blind)
#DF396A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d238a4;
/* rgb */ color: rgb(210, 56, 164);
/* oklch */ color: oklch(60.6% 0.217 342.6);
Tailwind
colors: {
  custom: {
    50: '#e47dbf',
    500: '#d238a4',
    950: '#000000',
  },
}
SCSS
$custom: #d238a4;
$custom-light: #e47dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#d238a4",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 317.922,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.2169,
    "h": 342.6
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#D238A4
secondary
#91D5A5
accent
#E67342
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D238A4

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

Preview Lab → · Contrast checker → · Palette generator →

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