#CE38A8#CE38A8

#CE38A8 is a mid, highly saturated pink. Relative luminance 0.188; OKLCH L 60.1% C 0.217 H 340.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CE38A8
RGBrgb(206, 56, 168)
HSLhsl(315, 60%, 51%)
HSVhsv(315, 73%, 81%)
CMYKcmyk(0%, 72.8%, 18.4%, 19.2%)
CIE-LABlab(50.43, 68.38, -27.35)
CIE-LCHlch(50.43, 73.65, 338.20°)
OKLaboklab(60.14% 0.2039 -0.0738)
OKLCHoklch(60.14% 0.217 340.1)
XYZxyz(33.9366, 18.7806, 38.8760)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38A8 #38CE5E
analogous
#A938CE #CE38A8 #CE385D
triadic
#CE38A8 #A8CE38 #38A8CE
tetradic
#CE38A8 #CEA938 #38CE5E #385DCE
square
#CE38A8 #CEA938 #38CE5E #385DCE
split-complementary
#CE38A8 #5DCE38 #38CEA9
monochromatic
#701C5B #A12882 #CE38A8 #DA69BD #E69AD3

Accessibility & contrast

On white

4.42
#CE38A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CE38A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38A8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38A8#FFFFFF#000000##000000
##CE38A81.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#7381A5
Tritanopia (blue-blind)
#DA3D6C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ce38a8;
/* rgb */ color: rgb(206, 56, 168);
/* oklch */ color: oklch(60.1% 0.217 340.1);
Tailwind
colors: {
  custom: {
    50: '#e17cc2',
    500: '#ce38a8',
    950: '#000000',
  },
}
SCSS
$custom: #ce38a8;
$custom-light: #e17cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38a8",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 315.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.21688,
    "h": 340.1
  },
  "luminance": 0.18777
}

Semantic roles & 50–950 ramp

primary
#CE38A8
secondary
#90D2A1
accent
#E46D44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE38A8

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

Preview Lab → · Contrast checker → · Palette generator →

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