#CF54BA#CF54BA

#CF54BA is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.9% C 0.194 H 334.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CF54BA
RGBrgb(207, 84, 186)
HSLhsl(310, 56%, 57%)
HSVhsv(310, 59%, 81%)
CMYKcmyk(0%, 59.4%, 10.1%, 18.8%)
CIE-LABlab(55.23, 60.55, -30.37)
CIE-LCHlch(55.23, 67.75, 333.36°)
OKLaboklab(63.93% 0.1757 -0.0826)
OKLCHoklch(63.93% 0.194 334.8)
XYZxyz(37.7656, 23.1541, 48.9250)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54BA #54CF69
analogous
#A754CF #CF54BA #CF547D
triadic
#CF54BA #BACF54 #54BACF
tetradic
#CF54BA #CFA754 #54CF69 #547DCF
square
#CF54BA #CFA754 #54CF69 #547DCF
split-complementary
#CF54BA #7DCF54 #54CFA7
monochromatic
#842573 #B3329D #CF54BA #DC84CD #EAB4E1

Accessibility & contrast

On white

3.73
#CF54BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CF54BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54BA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54BA#FFFFFF#000000##000000
##CF54BA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#7A8BB7
Tritanopia (blue-blind)
#D85C7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf54ba;
/* rgb */ color: rgb(207, 84, 186);
/* oklch */ color: oklch(63.9% 0.194 334.8);
Tailwind
colors: {
  custom: {
    50: '#e18bcf',
    500: '#cf54ba',
    950: '#000000',
  },
}
SCSS
$custom: #cf54ba;
$custom-light: #e18bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54ba",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 310.244,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63926,
    "c": 0.19414,
    "h": 334.8
  },
  "luminance": 0.23151
}

Semantic roles & 50–950 ramp

primary
#CF54BA
secondary
#A6D8AF
accent
#DF6248
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CF54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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