#CF54A5#CF54A5

#CF54A5 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.179 H 343.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CF54A5
RGBrgb(207, 84, 165)
HSLhsl(320, 56%, 57%)
HSVhsv(320, 59%, 81%)
CMYKcmyk(0%, 59.4%, 20.3%, 18.8%)
CIE-LABlab(54.37, 57.42, -19.51)
CIE-LCHlch(54.37, 60.64, 341.24°)
OKLaboklab(63.01% 0.1716 -0.052)
OKLCHoklch(63.01% 0.179 343.1)
XYZxyz(35.6949, 22.3258, 38.0194)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF54A5 #54CF7E
analogous
#BC54CF #CF54A5 #CF5468
triadic
#CF54A5 #A5CF54 #54A5CF
tetradic
#CF54A5 #CFBC54 #54CF7E #5468CF
square
#CF54A5 #CFBC54 #54CF7E #5468CF
split-complementary
#CF54A5 #68CF54 #54CFBC
monochromatic
#842563 #B33287 #CF54A5 #DC84BE #EAB4D7

Accessibility & contrast

On white

3.84
#CF54A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CF54A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF54A5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF54A5#FFFFFF#000000##000000
##CF54A51.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E75A8
Deuteranopia (green-blind)
#818AA2
Tritanopia (blue-blind)
#DB5475
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf54a5;
/* rgb */ color: rgb(207, 84, 165);
/* oklch */ color: oklch(63.0% 0.179 343.1);
Tailwind
colors: {
  custom: {
    50: '#e18abf',
    500: '#cf54a5',
    950: '#000000',
  },
}
SCSS
$custom: #cf54a5;
$custom-light: #e18abf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf54a5",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 320.488,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63012,
    "c": 0.17932,
    "h": 343.1
  },
  "luminance": 0.22323
}

Semantic roles & 50–950 ramp

primary
#CF54A5
secondary
#A6D8B7
accent
#DF7C48
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF54A5

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

Preview Lab → · Contrast checker → · Palette generator →

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