#CF5F8D#CF5F8D

#CF5F8D is a light, vivid pink. Relative luminance 0.234; OKLCH L 63.5% C 0.150 H 356.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CF5F8D
RGBrgb(207, 95, 141)
HSLhsl(335, 54%, 59%)
HSVhsv(335, 54%, 81%)
CMYKcmyk(0%, 54.1%, 31.9%, 18.8%)
CIE-LABlab(55.46, 49.12, -3.80)
CIE-LCHlch(55.46, 49.27, 355.57°)
OKLaboklab(63.55% 0.1493 -0.0094)
OKLCHoklch(63.55% 0.15 356.4)
XYZxyz(34.6336, 23.3762, 27.8822)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5F8D #5FCFA1
analogous
#CF5FC5 #CF5F8D #CF695F
triadic
#CF5F8D #8DCF5F #5F8DCF
tetradic
#CF5F8D #C5CF5F #5FCFA1 #695FCF
square
#CF5F8D #C5CF5F #5FCFA1 #695FCF
split-complementary
#CF5F8D #5FCF69 #5FC5CF
monochromatic
#8A2951 #B9386D #CF5F8D #DD8EAF #EBBDD0

Accessibility & contrast

On white

3.70
#CF5F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CF5F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5F8D
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5F8D#FFFFFF#000000##000000
##CF5F8D1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#8D8D8A
Tritanopia (blue-blind)
#DE5870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf5f8d;
/* rgb */ color: rgb(207, 95, 141);
/* oklch */ color: oklch(63.5% 0.150 356.4);
Tailwind
colors: {
  custom: {
    50: '#e190ae',
    500: '#cf5f8d',
    950: '#000000',
  },
}
SCSS
$custom: #cf5f8d;
$custom-light: #e190ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5f8d",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 335.357,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6355,
    "c": 0.14955,
    "h": 356.4
  },
  "luminance": 0.23373
}

Semantic roles & 50–950 ramp

primary
#CF5F8D
secondary
#AFDBC9
accent
#DDA14B
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CF5F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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