#D235BC#D235BC

#D235BC is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.5% C 0.235 H 334.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#D235BC
RGBrgb(210, 53, 188)
HSLhsl(308, 64%, 52%)
HSVhsv(308, 75%, 82%)
CMYKcmyk(0%, 74.8%, 10.5%, 17.6%)
CIE-LABlab(51.70, 73.02, -37.01)
CIE-LCHlch(51.70, 81.87, 333.12°)
OKLaboklab(61.49% 0.2126 -0.1013)
OKLCHoklch(61.49% 0.235 334.5)
XYZxyz(36.9290, 19.8820, 49.4599)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D235BC #35D24B
analogous
#9A35D2 #D235BC #D2356E
triadic
#D235BC #BCD235 #35BCD2
tetradic
#D235BC #D29A35 #35D24B #356ED2
square
#D235BC #D29A35 #35D24B #356ED2
split-complementary
#D235BC #6ED235 #35D29A
monochromatic
#731A66 #A52593 #D235BC #DD67CD #E899DD

Accessibility & contrast

On white

4.22
#D235BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#D235BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D235BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D235BC#FFFFFF#000000##000000
##D235BC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#6D83B8
Tritanopia (blue-blind)
#DC4376
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d235bc;
/* rgb */ color: rgb(210, 53, 188);
/* oklch */ color: oklch(61.5% 0.235 334.5);
Tailwind
colors: {
  custom: {
    50: '#e47cd0',
    500: '#d235bc',
    950: '#000000',
  },
}
SCSS
$custom: #d235bc;
$custom-light: #e47cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d235bc",
  "rgb": {
    "r": 210,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 308.408,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.23548,
    "h": 334.5
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#D235BC
secondary
#8FD499
accent
#E75841
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D235BC

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

Preview Lab → · Contrast checker → · Palette generator →

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