#D238AF#D238AF

#D238AF is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 61.1% C 0.224 H 338.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D238AF
RGBrgb(210, 56, 175)
HSLhsl(314, 63%, 52%)
HSVhsv(314, 73%, 82%)
CMYKcmyk(0%, 73.3%, 16.7%, 17.6%)
CIE-LABlab(51.41, 70.28, -29.88)
CIE-LCHlch(51.41, 76.37, 336.97°)
OKLaboklab(61.08% 0.2086 -0.0809)
OKLCHoklch(61.08% 0.224 338.8)
XYZxyz(35.7312, 19.6286, 42.4560)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D238AF #38D25B
analogous
#A838D2 #D238AF #D23862
triadic
#D238AF #AFD238 #38AFD2
tetradic
#D238AF #D2A838 #38D25B #3862D2
square
#D238AF #D2A838 #38D25B #3862D2
split-complementary
#D238AF #62D238 #38D2A8
monochromatic
#751A61 #A7268A #D238AF #DD6AC3 #E99CD7

Accessibility & contrast

On white

4.26
#D238AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D238AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D238AF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D238AF#FFFFFF#000000##000000
##D238AF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#7383AB
Tritanopia (blue-blind)
#DE3F70
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d238af;
/* rgb */ color: rgb(210, 56, 175);
/* oklch */ color: oklch(61.1% 0.224 338.8);
Tailwind
colors: {
  custom: {
    50: '#e47dc7',
    500: '#d238af',
    950: '#000000',
  },
}
SCSS
$custom: #d238af;
$custom-light: #e47dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#d238af",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 313.636,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.22376,
    "h": 338.8
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#D238AF
secondary
#91D5A1
accent
#E66742
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D238AF

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

Preview Lab → · Contrast checker → · Palette generator →

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