#CF5181#CF5181

#CF5181 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.165 H 359.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CF5181
RGBrgb(207, 81, 129)
HSLhsl(337, 57%, 56%)
HSVhsv(337, 61%, 81%)
CMYKcmyk(0%, 60.9%, 37.7%, 18.8%)
CIE-LABlab(52.66, 54.18, -0.81)
CIE-LCHlch(52.66, 54.18, 359.14°)
OKLaboklab(61.35% 0.1654 -0.0014)
OKLCHoklch(61.35% 0.165 359.5)
XYZxyz(32.6390, 20.7388, 23.0488)
Luminance0.2074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5181 #51CF9F
analogous
#CF51C0 #CF5181 #CF6051
triadic
#CF5181 #81CF51 #5181CF
tetradic
#CF5181 #C0CF51 #51CF9F #6051CF
square
#CF5181 #C0CF51 #51CF9F #6051CF
split-complementary
#CF5181 #51CF60 #51C0CF
monochromatic
#822448 #B23162 #CF5181 #DC81A4 #E9B1C6

Accessibility & contrast

On white

4.08
#CF5181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CF5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5181
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5181#FFFFFF#000000##000000
##CF51811.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#676F82
Deuteranopia (green-blind)
#89877E
Tritanopia (blue-blind)
#DF4564
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5181;
/* rgb */ color: rgb(207, 81, 129);
/* oklch */ color: oklch(61.3% 0.165 359.5);
Tailwind
colors: {
  custom: {
    50: '#e288a5',
    500: '#cf5181',
    950: '#000000',
  },
}
SCSS
$custom: #cf5181;
$custom-light: #e288a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5181",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 337.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61346,
    "c": 0.16542,
    "h": 359.5
  },
  "luminance": 0.20735
}

Semantic roles & 50–950 ramp

primary
#CF5181
secondary
#A4D8C4
accent
#E0A648
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5181

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

Preview Lab → · Contrast checker → · Palette generator →

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