#CF5177#CF5177

#CF5177 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.0% C 0.162 H 4.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF5177
RGBrgb(207, 81, 119)
HSLhsl(342, 57%, 56%)
HSVhsv(342, 61%, 81%)
CMYKcmyk(0%, 60.9%, 42.5%, 18.8%)
CIE-LABlab(52.38, 53.11, 4.75)
CIE-LCHlch(52.38, 53.32, 5.11°)
OKLaboklab(61.05% 0.1619 0.0128)
OKLCHoklch(61.05% 0.162 4.5)
XYZxyz(32.0065, 20.4859, 19.7178)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5177 #51CFA9
analogous
#CF51B6 #CF5177 #CF6A51
triadic
#CF5177 #77CF51 #5177CF
tetradic
#CF5177 #B6CF51 #51CFA9 #6A51CF
square
#CF5177 #B6CF51 #51CFA9 #6A51CF
split-complementary
#CF5177 #51CF6A #51B6CF
monochromatic
#822440 #B23158 #CF5177 #DC819C #E9B1C2

Accessibility & contrast

On white

4.12
#CF5177 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CF5177 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5177
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5177#FFFFFF#000000##000000
##CF51771.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6E78
Deuteranopia (green-blind)
#8B8674
Tritanopia (blue-blind)
#E04260
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5177;
/* rgb */ color: rgb(207, 81, 119);
/* oklch */ color: oklch(61.0% 0.162 4.5);
Tailwind
colors: {
  custom: {
    50: '#e2889e',
    500: '#cf5177',
    950: '#000000',
  },
}
SCSS
$custom: #cf5177;
$custom-light: #e2889e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5177",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 119
  },
  "hsl": {
    "h": 341.905,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.16243,
    "h": 4.5
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#CF5177
secondary
#A4D8C8
accent
#E0B248
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF5177

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

Preview Lab → · Contrast checker → · Palette generator →

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