#CE38A2#CE38A2

#CE38A2 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.213 H 342.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CE38A2
RGBrgb(206, 56, 162)
HSLhsl(318, 60%, 51%)
HSVhsv(318, 73%, 81%)
CMYKcmyk(0%, 72.8%, 21.4%, 19.2%)
CIE-LABlab(50.17, 67.58, -24.21)
CIE-LCHlch(50.17, 71.79, 340.29°)
OKLaboklab(59.87% 0.203 -0.0649)
OKLCHoklch(59.87% 0.213 342.3)
XYZxyz(33.3905, 18.5622, 35.9998)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE38A2 #38CE64
analogous
#AF38CE #CE38A2 #CE3857
triadic
#CE38A2 #A2CE38 #38A2CE
tetradic
#CE38A2 #CEAF38 #38CE64 #3857CE
square
#CE38A2 #CEAF38 #38CE64 #3857CE
split-complementary
#CE38A2 #57CE38 #38CEAF
monochromatic
#701C57 #A1287E #CE38A2 #DA69B9 #E69AD0

Accessibility & contrast

On white

4.46
#CE38A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CE38A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE38A2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE38A2#FFFFFF#000000##000000
##CE38A21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#DB3A69
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ce38a2;
/* rgb */ color: rgb(206, 56, 162);
/* oklch */ color: oklch(59.9% 0.213 342.3);
Tailwind
colors: {
  custom: {
    50: '#e17cbd',
    500: '#ce38a2',
    950: '#000000',
  },
}
SCSS
$custom: #ce38a2;
$custom-light: #e17cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce38a2",
  "rgb": {
    "r": 206,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 317.6,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.21315,
    "h": 342.3
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#CE38A2
secondary
#90D2A3
accent
#E47344
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE38A2

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

Preview Lab → · Contrast checker → · Palette generator →

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