#D234BC#D234BC

#D234BC is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.236 H 334.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D234BC
RGBrgb(210, 52, 188)
HSLhsl(308, 64%, 51%)
HSVhsv(308, 75%, 82%)
CMYKcmyk(0%, 75.2%, 10.5%, 17.6%)
CIE-LABlab(51.60, 73.32, -37.17)
CIE-LCHlch(51.60, 82.20, 333.11°)
OKLaboklab(61.41% 0.2134 -0.1018)
OKLCHoklch(61.41% 0.236 334.5)
XYZxyz(36.8838, 19.7917, 49.4448)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D234BC #34D24A
analogous
#9934D2 #D234BC #D2346D
triadic
#D234BC #BCD234 #34BCD2
tetradic
#D234BC #D29934 #34D24A #346DD2
square
#D234BC #D29934 #34D24A #346DD2
split-complementary
#D234BC #6DD234 #34D299
monochromatic
#721966 #A42493 #D234BC #DD66CD #E898DD

Accessibility & contrast

On white

4.24
#D234BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D234BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D234BC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D234BC#FFFFFF#000000##000000
##D234BC1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d234bc;
/* rgb */ color: rgb(210, 52, 188);
/* oklch */ color: oklch(61.4% 0.236 334.5);
Tailwind
colors: {
  custom: {
    50: '#e47cd0',
    500: '#d234bc',
    950: '#000000',
  },
}
SCSS
$custom: #d234bc;
$custom-light: #e47cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d234bc",
  "rgb": {
    "r": 210,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 308.354,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.23645,
    "h": 334.5
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D234BC

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

Preview Lab → · Contrast checker → · Palette generator →

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