#D238A3#D238A3

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

Color values

HEX#D238A3
RGBrgb(210, 56, 163)
HSLhsl(318, 63%, 52%)
HSVhsv(318, 73%, 82%)
CMYKcmyk(0%, 73.3%, 22.4%, 17.6%)
CIE-LABlab(50.89, 68.69, -23.63)
CIE-LCHlch(50.89, 72.64, 341.02°)
OKLaboklab(60.53% 0.2068 -0.0633)
OKLCHoklch(60.53% 0.216 343)
XYZxyz(34.6046, 19.1779, 36.5225)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238A3 #38D267
analogous
#B438D2 #D238A3 #D23856
triadic
#D238A3 #A3D238 #38A3D2
tetradic
#D238A3 #D2B438 #38D267 #3856D2
square
#D238A3 #D2B438 #38D267 #3856D2
split-complementary
#D238A3 #56D238 #38D2B4
monochromatic
#751A59 #A72680 #D238A3 #DD6ABA #E99CD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D238A3#FFFFFF#000000##000000
##D238A31.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4869A6
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#DF3969
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d238a3;
/* rgb */ color: rgb(210, 56, 163);
/* oklch */ color: oklch(60.5% 0.216 343.0);
Tailwind
colors: {
  custom: {
    50: '#e47dbe',
    500: '#d238a3',
    950: '#000000',
  },
}
SCSS
$custom: #d238a3;
$custom-light: #e47dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#d238a3",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 318.312,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60534,
    "c": 0.2163,
    "h": 343
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#D238A3
secondary
#91D5A6
accent
#E67442
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D238A3

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

Preview Lab → · Contrast checker → · Palette generator →

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