#D431CF#D431CF

#D431CF is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.5% C 0.253 H 329.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D431CF
RGBrgb(212, 49, 207)
HSLhsl(302, 65%, 51%)
HSVhsv(302, 77%, 83%)
CMYKcmyk(0%, 76.9%, 2.4%, 16.9%)
CIE-LABlab(52.62, 77.38, -46.50)
CIE-LCHlch(52.62, 90.28, 329.00°)
OKLaboklab(62.52% 0.2183 -0.1287)
OKLCHoklch(62.52% 0.253 329.5)
XYZxyz(39.5119, 20.7018, 60.9342)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431CF #31D436
analogous
#8731D4 #D431CF #D4317E
triadic
#D431CF #CFD431 #31CFD4
tetradic
#D431CF #D48731 #31D436 #317ED4
square
#D431CF #D48731 #31D436 #317ED4
split-complementary
#D431CF #7ED431 #31D487
monochromatic
#731870 #A523A1 #D431CF #DF64DB #E996E7

Accessibility & contrast

On white

4.09
#D431CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D431CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431CF#FFFFFF#000000##000000
##D431CF1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F70D3
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#DC4A7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d431cf;
/* rgb */ color: rgb(212, 49, 207);
/* oklch */ color: oklch(62.5% 0.253 329.5);
Tailwind
colors: {
  custom: {
    50: '#e67cde',
    500: '#d431cf',
    950: '#000000',
  },
}
SCSS
$custom: #d431cf;
$custom-light: #e67cde;
$custom-dark: #000000;
JSON
{
  "hex": "#d431cf",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 207
  },
  "hsl": {
    "h": 301.84,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.62523,
    "c": 0.25337,
    "h": 329.5
  },
  "luminance": 0.20699
}

Semantic roles & 50–950 ramp

primary
#D431CF
secondary
#8CD48F
accent
#E8453F
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #D431CF

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

Preview Lab → · Contrast checker → · Palette generator →

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