#CF4E8B#CF4E8B

#CF4E8B is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.174 H 354.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF4E8B
RGBrgb(207, 78, 139)
HSLhsl(332, 57%, 56%)
HSVhsv(332, 62%, 81%)
CMYKcmyk(0%, 62.3%, 32.9%, 18.8%)
CIE-LABlab(52.49, 56.63, -7.02)
CIE-LCHlch(52.49, 57.06, 352.93°)
OKLaboklab(61.32% 0.1727 -0.0178)
OKLCHoklch(61.32% 0.174 354.1)
XYZxyz(33.1184, 20.5818, 26.6496)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4E8B #4ECF92
analogous
#CF4ECB #CF4E8B #CF514E
triadic
#CF4E8B #8BCF4E #4E8BCF
tetradic
#CF4E8B #CBCF4E #4ECF92 #514ECF
square
#CF4E8B #CBCF4E #4ECF92 #514ECF
split-complementary
#CF4E8B #4ECF51 #4ECBCF
monochromatic
#80234F #B0306C #CF4E8B #DC7EAB #E9AECA

Accessibility & contrast

On white

4.11
#CF4E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF4E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4E8B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4E8B#FFFFFF#000000##000000
##CF4E8B1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#DE4566
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf4e8b;
/* rgb */ color: rgb(207, 78, 139);
/* oklch */ color: oklch(61.3% 0.174 354.1);
Tailwind
colors: {
  custom: {
    50: '#e286ac',
    500: '#cf4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #cf4e8b;
$custom-light: #e286ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4e8b",
  "rgb": {
    "r": 207,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 331.628,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61318,
    "c": 0.1736,
    "h": 354.1
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#CF4E8B
secondary
#A2D7BE
accent
#E19847
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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