#CE38B1#CE38B1

#CE38B1 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.6% C 0.223 H 337.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CE38B1
RGBrgb(206, 56, 177)
HSLhsl(312, 60%, 51%)
HSVhsv(312, 73%, 81%)
CMYKcmyk(0%, 72.8%, 14.1%, 19.2%)
CIE-LABlab(50.84, 69.63, -32.00)
CIE-LCHlch(50.84, 76.63, 335.31°)
OKLaboklab(60.57% 0.2051 -0.0871)
OKLCHoklch(60.57% 0.223 337)
XYZxyz(34.8042, 19.1277, 43.4455)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38B1 #38CE55
analogous
#A038CE #CE38B1 #CE3866
triadic
#CE38B1 #B1CE38 #38B1CE
tetradic
#CE38B1 #CEA038 #38CE55 #3866CE
square
#CE38B1 #CEA038 #38CE55 #3866CE
split-complementary
#CE38B1 #66CE38 #38CEA0
monochromatic
#701C60 #A1288A #CE38B1 #DA69C4 #E69AD7

Accessibility & contrast

On white

4.35
#CE38B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CE38B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38B1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38B1#FFFFFF#000000##000000
##CE38B11.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#7081AD
Tritanopia (blue-blind)
#D94171
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ce38b1;
/* rgb */ color: rgb(206, 56, 177);
/* oklch */ color: oklch(60.6% 0.223 337.0);
Tailwind
colors: {
  custom: {
    50: '#e17dc8',
    500: '#ce38b1',
    950: '#000000',
  },
}
SCSS
$custom: #ce38b1;
$custom-light: #e17dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38b1",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 311.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60565,
    "c": 0.22277,
    "h": 337
  },
  "luminance": 0.19124
}

Semantic roles & 50–950 ramp

primary
#CE38B1
secondary
#90D29D
accent
#E46344
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE38B1

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

Preview Lab → · Contrast checker → · Palette generator →

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