#CF5474#CF5474

#CF5474 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.3% C 0.158 H 6.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF5474
RGBrgb(207, 84, 116)
HSLhsl(344, 56%, 57%)
HSVhsv(344, 59%, 81%)
CMYKcmyk(0%, 59.4%, 44%, 18.8%)
CIE-LABlab(52.81, 51.46, 7.15)
CIE-LCHlch(52.81, 51.95, 7.91°)
OKLaboklab(61.34% 0.1566 0.0189)
OKLCHoklch(61.34% 0.158 6.9)
XYZxyz(32.0571, 20.8707, 18.8599)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5474 #54CFAF
analogous
#CF54B2 #CF5474 #CF7254
triadic
#CF5474 #74CF54 #5474CF
tetradic
#CF5474 #B2CF54 #54CFAF #7254CF
square
#CF5474 #B2CF54 #54CFAF #7254CF
split-complementary
#CF5474 #54CF72 #54B2CF
monochromatic
#84253E #B33254 #CF5474 #DC849B #EAB4C2

Accessibility & contrast

On white

4.06
#CF5474 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF5474 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5474
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5474#FFFFFF#000000##000000
##CF54741.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6F75
Deuteranopia (green-blind)
#8D8771
Tritanopia (blue-blind)
#E04560
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5474;
/* rgb */ color: rgb(207, 84, 116);
/* oklch */ color: oklch(61.3% 0.158 6.9);
Tailwind
colors: {
  custom: {
    50: '#e2899b',
    500: '#cf5474',
    950: '#000000',
  },
}
SCSS
$custom: #cf5474;
$custom-light: #e2899b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5474",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 116
  },
  "hsl": {
    "h": 344.39,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61337,
    "c": 0.15771,
    "h": 6.9
  },
  "luminance": 0.20867
}

Semantic roles & 50–950 ramp

primary
#CF5474
secondary
#A6D8CB
accent
#DFB848
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5474

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

Preview Lab → · Contrast checker → · Palette generator →

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