#CF5FB3#CF5FB3

#CF5FB3 is a light, vivid pink. Relative luminance 0.247; OKLCH L 65.0% C 0.172 H 338.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CF5FB3
RGBrgb(207, 95, 179)
HSLhsl(315, 54%, 59%)
HSVhsv(315, 54%, 81%)
CMYKcmyk(0%, 54.1%, 13.5%, 18.8%)
CIE-LABlab(56.79, 54.47, -23.93)
CIE-LCHlch(56.79, 59.49, 336.29°)
OKLaboklab(64.98% 0.1597 -0.0645)
OKLCHoklch(64.98% 0.172 338)
XYZxyz(37.9614, 24.7074, 45.4087)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FB3 #5FCF7B
analogous
#B35FCF #CF5FB3 #CF5F7B
triadic
#CF5FB3 #B3CF5F #5FB3CF
tetradic
#CF5FB3 #CFB35F #5FCF7B #5F7BCF
square
#CF5FB3 #CFB35F #5FCF7B #5F7BCF
split-complementary
#CF5FB3 #7BCF5F #5FCFB3
monochromatic
#8A2972 #B93899 #CF5FB3 #DD8EC9 #EBBDE0

Accessibility & contrast

On white

3.53
#CF5FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CF5FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FB3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FB3#FFFFFF#000000##000000
##CF5FB31.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#627DB6
Deuteranopia (green-blind)
#828FB0
Tritanopia (blue-blind)
#D96381
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5fb3;
/* rgb */ color: rgb(207, 95, 179);
/* oklch */ color: oklch(65.0% 0.172 338.0);
Tailwind
colors: {
  custom: {
    50: '#e091ca',
    500: '#cf5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fb3;
$custom-light: #e091ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fb3",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 315,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64979,
    "c": 0.17222,
    "h": 338
  },
  "luminance": 0.24704
}

Semantic roles & 50–950 ramp

primary
#CF5FB3
secondary
#AFDBBA
accent
#DD6F4B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #CF5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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