#CF5EB2#CF5EB2

#CF5EB2 is a light, vivid pink. Relative luminance 0.245; OKLCH L 64.8% C 0.173 H 338.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CF5EB2
RGBrgb(207, 94, 178)
HSLhsl(315, 54%, 59%)
HSVhsv(315, 55%, 81%)
CMYKcmyk(0%, 54.6%, 14%, 18.8%)
CIE-LABlab(56.57, 54.79, -23.68)
CIE-LCHlch(56.57, 59.69, 336.62°)
OKLaboklab(64.81% 0.1609 -0.0638)
OKLCHoklch(64.81% 0.173 338.4)
XYZxyz(37.7712, 24.4881, 44.8482)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EB2 #5ECF7B
analogous
#B45ECF #CF5EB2 #CF5E7A
triadic
#CF5EB2 #B2CF5E #5EB2CF
tetradic
#CF5EB2 #CFB45E #5ECF7B #5E7ACF
square
#CF5EB2 #CFB45E #5ECF7B #5E7ACF
split-complementary
#CF5EB2 #7ACF5E #5ECFB4
monochromatic
#8A2971 #B93797 #CF5EB2 #DD8DC9 #EBBCDF

Accessibility & contrast

On white

3.56
#CF5EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CF5EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EB2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EB2#FFFFFF#000000##000000
##CF5EB21.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB5
Deuteranopia (green-blind)
#828EAF
Tritanopia (blue-blind)
#D96280
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5eb2;
/* rgb */ color: rgb(207, 94, 178);
/* oklch */ color: oklch(64.8% 0.173 338.4);
Tailwind
colors: {
  custom: {
    50: '#e090c9',
    500: '#cf5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5eb2;
$custom-light: #e090c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5eb2",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 315.398,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64806,
    "c": 0.17305,
    "h": 338.4
  },
  "luminance": 0.24485
}

Semantic roles & 50–950 ramp

primary
#CF5EB2
secondary
#AEDBBA
accent
#DD704A
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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