#CF5179#CF5179

#CF5179 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.163 H 3.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CF5179
RGBrgb(207, 81, 121)
HSLhsl(341, 57%, 56%)
HSVhsv(341, 61%, 81%)
CMYKcmyk(0%, 60.9%, 41.5%, 18.8%)
CIE-LABlab(52.44, 53.31, 3.63)
CIE-LCHlch(52.44, 53.44, 3.90°)
OKLaboklab(61.1% 0.1626 0.01)
OKLCHoklch(61.1% 0.163 3.5)
XYZxyz(32.1279, 20.5344, 20.3571)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5179 #51CFA7
analogous
#CF51B8 #CF5179 #CF6851
triadic
#CF5179 #79CF51 #5179CF
tetradic
#CF5179 #B8CF51 #51CFA7 #6851CF
square
#CF5179 #B8CF51 #51CFA7 #6851CF
split-complementary
#CF5179 #51CF68 #51B8CF
monochromatic
#822442 #B2315A #CF5179 #DC819E #E9B1C3

Accessibility & contrast

On white

4.11
#CF5179 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CF5179 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5179
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5179#FFFFFF#000000##000000
##CF51791.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#696E7A
Deuteranopia (green-blind)
#8B8676
Tritanopia (blue-blind)
#E04360
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5179;
/* rgb */ color: rgb(207, 81, 121);
/* oklch */ color: oklch(61.1% 0.163 3.5);
Tailwind
colors: {
  custom: {
    50: '#e2889f',
    500: '#cf5179',
    950: '#000000',
  },
}
SCSS
$custom: #cf5179;
$custom-light: #e2889f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5179",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 340.952,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.16294,
    "h": 3.5
  },
  "luminance": 0.20531
}

Semantic roles & 50–950 ramp

primary
#CF5179
secondary
#A4D8C7
accent
#E0B048
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5179

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

Preview Lab → · Contrast checker → · Palette generator →

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