#D235B8#D235B8

#D235B8 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.3% C 0.233 H 335.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#D235B8
RGBrgb(210, 53, 184)
HSLhsl(310, 64%, 52%)
HSVhsv(310, 75%, 82%)
CMYKcmyk(0%, 74.8%, 12.4%, 17.6%)
CIE-LABlab(51.51, 72.45, -34.99)
CIE-LCHlch(51.51, 80.46, 334.22°)
OKLaboklab(61.28% 0.2123 -0.0955)
OKLCHoklch(61.28% 0.233 335.8)
XYZxyz(36.5037, 19.7119, 47.2204)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D235B8 #35D24F
analogous
#9E35D2 #D235B8 #D2356A
triadic
#D235B8 #B8D235 #35B8D2
tetradic
#D235B8 #D29E35 #35D24F #356AD2
square
#D235B8 #D29E35 #35D24F #356AD2
split-complementary
#D235B8 #6AD235 #35D29E
monochromatic
#731A64 #A52590 #D235B8 #DD67CA #E899DB

Accessibility & contrast

On white

4.25
#D235B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#D235B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D235B8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D235B8#FFFFFF#000000##000000
##D235B81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#366CBC
Deuteranopia (green-blind)
#6F83B4
Tritanopia (blue-blind)
#DD4174
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d235b8;
/* rgb */ color: rgb(210, 53, 184);
/* oklch */ color: oklch(61.3% 0.233 335.8);
Tailwind
colors: {
  custom: {
    50: '#e47ccd',
    500: '#d235b8',
    950: '#000000',
  },
}
SCSS
$custom: #d235b8;
$custom-light: #e47ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#d235b8",
  "rgb": {
    "r": 210,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 309.936,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61284,
    "c": 0.23278,
    "h": 335.8
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#D235B8
secondary
#8FD49A
accent
#E75D41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D235B8

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

Preview Lab → · Contrast checker → · Palette generator →

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