#CE38B4#CE38B4

#CE38B4 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.7% C 0.225 H 336.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CE38B4
RGBrgb(206, 56, 180)
HSLhsl(310, 60%, 51%)
HSVhsv(310, 73%, 81%)
CMYKcmyk(0%, 72.8%, 12.6%, 19.2%)
CIE-LABlab(50.98, 70.05, -33.54)
CIE-LCHlch(50.98, 77.67, 334.42°)
OKLaboklab(60.71% 0.2054 -0.0914)
OKLCHoklch(60.71% 0.225 336)
XYZxyz(35.1065, 19.2486, 45.0376)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38B4 #38CE52
analogous
#9D38CE #CE38B4 #CE3869
triadic
#CE38B4 #B4CE38 #38B4CE
tetradic
#CE38B4 #CE9D38 #38CE52 #3869CE
square
#CE38B4 #CE9D38 #38CE52 #3869CE
split-complementary
#CE38B4 #69CE38 #38CE9D
monochromatic
#701C61 #A1288C #CE38B4 #DA69C7 #E69AD9

Accessibility & contrast

On white

4.33
#CE38B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CE38B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38B4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38B4#FFFFFF#000000##000000
##CE38B41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#D94372
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ce38b4;
/* rgb */ color: rgb(206, 56, 180);
/* oklch */ color: oklch(60.7% 0.225 336.0);
Tailwind
colors: {
  custom: {
    50: '#e17dcb',
    500: '#ce38b4',
    950: '#000000',
  },
}
SCSS
$custom: #ce38b4;
$custom-light: #e17dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38b4",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 310.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.22479,
    "h": 336
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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