#D23CBA#D23CBA

#D23CBA is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.227 H 335.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D23CBA
RGBrgb(210, 60, 186)
HSLhsl(310, 63%, 53%)
HSVhsv(310, 71%, 82%)
CMYKcmyk(0%, 71.4%, 11.4%, 17.6%)
CIE-LABlab(52.38, 70.54, -34.79)
CIE-LCHlch(52.38, 78.65, 333.75°)
OKLaboklab(61.94% 0.2059 -0.095)
OKLCHoklch(61.94% 0.227 335.2)
XYZxyz(37.0576, 20.4818, 48.4465)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23CBA #3CD254
analogous
#9F3CD2 #D23CBA #D23C6F
triadic
#D23CBA #BAD23C #3CBAD2
tetradic
#D23CBA #D29F3C #3CD254 #3C6FD2
square
#D23CBA #D29F3C #3CD254 #3C6FD2
split-complementary
#D23CBA #6FD23C #3CD29F
monochromatic
#781C69 #AA2795 #D23CBA #DD6ECC #E99FDD

Accessibility & contrast

On white

4.12
#D23CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D23CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23CBA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23CBA#FFFFFF#000000##000000
##D23CBA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBD
Deuteranopia (green-blind)
#7185B6
Tritanopia (blue-blind)
#DC4877
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d23cba;
/* rgb */ color: rgb(210, 60, 186);
/* oklch */ color: oklch(61.9% 0.227 335.2);
Tailwind
colors: {
  custom: {
    50: '#e47fcf',
    500: '#d23cba',
    950: '#000000',
  },
}
SCSS
$custom: #d23cba;
$custom-light: #e47fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#d23cba",
  "rgb": {
    "r": 210,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 309.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.22678,
    "h": 335.2
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

primary
#D23CBA
secondary
#94D59F
accent
#E65C42
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D23CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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