#CF3EA8#CF3EA8

#CF3EA8 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.8% C 0.211 H 340.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CF3EA8
RGBrgb(207, 62, 168)
HSLhsl(316, 60%, 53%)
HSVhsv(316, 70%, 81%)
CMYKcmyk(0%, 70%, 18.8%, 18.8%)
CIE-LABlab(51.31, 66.60, -25.97)
CIE-LCHlch(51.31, 71.48, 338.70°)
OKLaboklab(60.81% 0.1987 -0.0699)
OKLCHoklch(60.81% 0.211 340.6)
XYZxyz(34.5236, 19.5411, 38.9918)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3EA8 #3ECF65
analogous
#AE3ECF #CF3EA8 #CF3E5F
triadic
#CF3EA8 #A8CF3E #3EA8CF
tetradic
#CF3EA8 #CFAE3E #3ECF65 #3E5FCF
square
#CF3EA8 #CFAE3E #3ECF65 #3E5FCF
split-complementary
#CF3EA8 #5FCF3E #3ECFAE
monochromatic
#751D5E #A62985 #CF3EA8 #DB6FBE #E7A0D4

Accessibility & contrast

On white

4.28
#CF3EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CF3EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF3EA8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3EA8#FFFFFF#000000##000000
##CF3EA81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#DB426E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf3ea8;
/* rgb */ color: rgb(207, 62, 168);
/* oklch */ color: oklch(60.8% 0.211 340.6);
Tailwind
colors: {
  custom: {
    50: '#e27fc2',
    500: '#cf3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cf3ea8;
$custom-light: #e27fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3ea8",
  "rgb": {
    "r": 207,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 316.138,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60812,
    "c": 0.21069,
    "h": 340.6
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#CF3EA8
secondary
#95D4A6
accent
#E36F44
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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