#CF5F9E#CF5F9E

#CF5F9E is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.1% C 0.158 H 347.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CF5F9E
RGBrgb(207, 95, 158)
HSLhsl(326, 54%, 59%)
HSVhsv(326, 54%, 81%)
CMYKcmyk(0%, 54.1%, 23.7%, 18.8%)
CIE-LABlab(56.01, 51.37, -12.93)
CIE-LCHlch(56.01, 52.97, 345.87°)
OKLaboklab(64.14% 0.1545 -0.034)
OKLCHoklch(64.14% 0.158 347.6)
XYZxyz(35.9970, 23.9216, 35.0626)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5F9E #5FCF90
analogous
#C85FCF #CF5F9E #CF5F66
triadic
#CF5F9E #9ECF5F #5F9ECF
tetradic
#CF5F9E #CFC85F #5FCF90 #5F66CF
square
#CF5F9E #CFC85F #5FCF90 #5F66CF
split-complementary
#CF5F9E #66CF5F #5FCFC8
monochromatic
#8A2960 #B93881 #CF5F9E #DD8EBB #EBBDD7

Accessibility & contrast

On white

3.63
#CF5F9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CF5F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5F9E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5F9E#FFFFFF#000000##000000
##CF5F9E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7AA0
Deuteranopia (green-blind)
#898D9B
Tritanopia (blue-blind)
#DC5C77
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5f9e;
/* rgb */ color: rgb(207, 95, 158);
/* oklch */ color: oklch(64.1% 0.158 347.6);
Tailwind
colors: {
  custom: {
    50: '#e091ba',
    500: '#cf5f9e',
    950: '#000000',
  },
}
SCSS
$custom: #cf5f9e;
$custom-light: #e091ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5f9e",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 158
  },
  "hsl": {
    "h": 326.25,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64143,
    "c": 0.15816,
    "h": 347.6
  },
  "luminance": 0.23918
}

Semantic roles & 50–950 ramp

primary
#CF5F9E
secondary
#AFDBC2
accent
#DD8B4B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CF5F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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