#CF5481#CF5481

#CF5481 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.161 H 0.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CF5481
RGBrgb(207, 84, 129)
HSLhsl(338, 56%, 57%)
HSVhsv(338, 59%, 81%)
CMYKcmyk(0%, 59.4%, 37.7%, 18.8%)
CIE-LABlab(53.16, 52.84, -0.08)
CIE-LCHlch(53.16, 52.84, 359.91°)
OKLaboklab(61.72% 0.1612 0.0004)
OKLCHoklch(61.72% 0.161 0.2)
XYZxyz(32.8668, 21.1946, 23.1247)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5481 #54CFA2
analogous
#CF54BE #CF5481 #CF6554
triadic
#CF5481 #81CF54 #5481CF
tetradic
#CF5481 #BECF54 #54CFA2 #6554CF
square
#CF5481 #BECF54 #54CFA2 #6554CF
split-complementary
#CF5481 #54CF65 #54BECF
monochromatic
#842548 #B33262 #CF5481 #DC84A4 #EAB4C7

Accessibility & contrast

On white

4.01
#CF5481 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CF5481 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5481
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5481#FFFFFF#000000##000000
##CF54811.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7082
Deuteranopia (green-blind)
#8A887E
Tritanopia (blue-blind)
#DF4965
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5481;
/* rgb */ color: rgb(207, 84, 129);
/* oklch */ color: oklch(61.7% 0.161 0.2);
Tailwind
colors: {
  custom: {
    50: '#e28aa5',
    500: '#cf5481',
    950: '#000000',
  },
}
SCSS
$custom: #cf5481;
$custom-light: #e28aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5481",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 338.049,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.16121,
    "h": 0.2
  },
  "luminance": 0.21191
}

Semantic roles & 50–950 ramp

primary
#CF5481
secondary
#A6D8C6
accent
#DFA848
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5481

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

Preview Lab → · Contrast checker → · Palette generator →

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