#D234BA#D234BA

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

Color values

HEX#D234BA
RGBrgb(210, 52, 186)
HSLhsl(309, 64%, 51%)
HSVhsv(309, 75%, 82%)
CMYKcmyk(0%, 75.2%, 11.4%, 17.6%)
CIE-LABlab(51.50, 73.03, -36.16)
CIE-LCHlch(51.50, 81.49, 333.66°)
OKLaboklab(61.31% 0.2133 -0.0989)
OKLCHoklch(61.31% 0.235 335.1)
XYZxyz(36.6697, 19.7061, 48.3172)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D234BA #34D24C
analogous
#9B34D2 #D234BA #D2346B
triadic
#D234BA #BAD234 #34BAD2
tetradic
#D234BA #D29B34 #34D24C #346BD2
square
#D234BA #D29B34 #34D24C #346BD2
split-complementary
#D234BA #6BD234 #34D29B
monochromatic
#721965 #A42491 #D234BA #DD66CB #E898DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D234BA#FFFFFF#000000##000000
##D234BA1.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)
#336CBE
Deuteranopia (green-blind)
#6D83B6
Tritanopia (blue-blind)
#DC4274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d234ba;
/* rgb */ color: rgb(210, 52, 186);
/* oklch */ color: oklch(61.3% 0.235 335.1);
Tailwind
colors: {
  custom: {
    50: '#e47ccf',
    500: '#d234ba',
    950: '#000000',
  },
}
SCSS
$custom: #d234ba;
$custom-light: #e47ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#d234ba",
  "rgb": {
    "r": 210,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 309.114,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.2351,
    "h": 335.1
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#D234BA
secondary
#8ED499
accent
#E75A41
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D234BA

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

Preview Lab → · Contrast checker → · Palette generator →

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