#CE38B5#CE38B5

#CE38B5 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.8% C 0.225 H 335.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CE38B5
RGBrgb(206, 56, 181)
HSLhsl(310, 60%, 51%)
HSVhsv(310, 73%, 81%)
CMYKcmyk(0%, 72.8%, 12.1%, 19.2%)
CIE-LABlab(51.02, 70.20, -34.05)
CIE-LCHlch(51.02, 78.02, 334.12°)
OKLaboklab(60.76% 0.2054 -0.0929)
OKLCHoklch(60.76% 0.225 335.7)
XYZxyz(35.2088, 19.2895, 45.5760)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38B5 #38CE51
analogous
#9C38CE #CE38B5 #CE386A
triadic
#CE38B5 #B5CE38 #38B5CE
tetradic
#CE38B5 #CE9C38 #38CE51 #386ACE
square
#CE38B5 #CE9C38 #38CE51 #386ACE
split-complementary
#CE38B5 #6ACE38 #38CE9C
monochromatic
#701C62 #A1288D #CE38B5 #DA69C7 #E69ADA

Accessibility & contrast

On white

4.32
#CE38B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CE38B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38B5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38B5#FFFFFF#000000##000000
##CE38B51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#6E82B1
Tritanopia (blue-blind)
#D84373
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ce38b5;
/* rgb */ color: rgb(206, 56, 181);
/* oklch */ color: oklch(60.8% 0.225 335.7);
Tailwind
colors: {
  custom: {
    50: '#e17dcb',
    500: '#ce38b5',
    950: '#000000',
  },
}
SCSS
$custom: #ce38b5;
$custom-light: #e17dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38b5",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 310,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.22547,
    "h": 335.7
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

primary
#CE38B5
secondary
#90D29B
accent
#E45F44
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE38B5

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

Preview Lab → · Contrast checker → · Palette generator →

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