#CF5F8A#CF5F8A

#CF5F8A is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.5% C 0.148 H 358.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CF5F8A
RGBrgb(207, 95, 138)
HSLhsl(337, 54%, 59%)
HSVhsv(337, 54%, 81%)
CMYKcmyk(0%, 54.1%, 33.3%, 18.8%)
CIE-LABlab(55.37, 48.75, -2.17)
CIE-LCHlch(55.37, 48.80, 357.45°)
OKLaboklab(63.45% 0.1483 -0.0051)
OKLCHoklch(63.45% 0.148 358)
XYZxyz(34.4134, 23.2882, 26.7225)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5F8A #5FCFA4
analogous
#CF5FC2 #CF5F8A #CF6C5F
triadic
#CF5F8A #8ACF5F #5F8ACF
tetradic
#CF5F8A #C2CF5F #5FCFA4 #6C5FCF
square
#CF5F8A #C2CF5F #5FCFA4 #6C5FCF
split-complementary
#CF5F8A #5FCF6C #5FC2CF
monochromatic
#8A294F #B93869 #CF5F8A #DD8EAC #EBBDCF

Accessibility & contrast

On white

3.71
#CF5F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CF5F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5F8A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5F8A#FFFFFF#000000##000000
##CF5F8A1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788B
Deuteranopia (green-blind)
#8E8C87
Tritanopia (blue-blind)
#DE576F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf5f8a;
/* rgb */ color: rgb(207, 95, 138);
/* oklch */ color: oklch(63.5% 0.148 358.0);
Tailwind
colors: {
  custom: {
    50: '#e190ac',
    500: '#cf5f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf5f8a;
$custom-light: #e190ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5f8a",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 336.964,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63453,
    "c": 0.14835,
    "h": 358
  },
  "luminance": 0.23285
}

Semantic roles & 50–950 ramp

primary
#CF5F8A
secondary
#AFDBCA
accent
#DDA54B
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CF5F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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