#CF5FB2#CF5FB2

#CF5FB2 is a light, vivid pink. Relative luminance 0.247; OKLCH L 64.9% C 0.171 H 338.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CF5FB2
RGBrgb(207, 95, 178)
HSLhsl(316, 54%, 59%)
HSVhsv(316, 54%, 81%)
CMYKcmyk(0%, 54.1%, 14%, 18.8%)
CIE-LABlab(56.75, 54.32, -23.41)
CIE-LCHlch(56.75, 59.15, 336.68°)
OKLaboklab(64.94% 0.1595 -0.063)
OKLCHoklch(64.94% 0.171 338.4)
XYZxyz(37.8607, 24.6671, 44.8780)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FB2 #5FCF7C
analogous
#B45FCF #CF5FB2 #CF5F7A
triadic
#CF5FB2 #B2CF5F #5FB2CF
tetradic
#CF5FB2 #CFB45F #5FCF7C #5F7ACF
square
#CF5FB2 #CFB45F #5FCF7C #5F7ACF
split-complementary
#CF5FB2 #7ACF5F #5FCFB4
monochromatic
#8A2971 #B93898 #CF5FB2 #DD8EC9 #EBBDDF

Accessibility & contrast

On white

3.54
#CF5FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CF5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FB2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FB2#FFFFFF#000000##000000
##CF5FB21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#838FAF
Tritanopia (blue-blind)
#D96280
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cf5fb2;
/* rgb */ color: rgb(207, 95, 178);
/* oklch */ color: oklch(64.9% 0.171 338.4);
Tailwind
colors: {
  custom: {
    50: '#e091c9',
    500: '#cf5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fb2;
$custom-light: #e091c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fb2",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 315.536,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.17148,
    "h": 338.4
  },
  "luminance": 0.24664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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