#CF5081#CF5081

#CF5081 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.167 H 359.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF5081
RGBrgb(207, 80, 129)
HSLhsl(337, 57%, 56%)
HSVhsv(337, 61%, 81%)
CMYKcmyk(0%, 61.4%, 37.7%, 18.8%)
CIE-LABlab(52.50, 54.62, -1.05)
CIE-LCHlch(52.50, 54.63, 358.90°)
OKLaboklab(61.22% 0.1668 -0.0021)
OKLCHoklch(61.22% 0.167 359.3)
XYZxyz(32.5652, 20.5913, 23.0242)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5081 #50CF9E
analogous
#CF50C1 #CF5081 #CF5F50
triadic
#CF5081 #81CF50 #5081CF
tetradic
#CF5081 #C1CF50 #50CF9E #5F50CF
square
#CF5081 #C1CF50 #50CF9E #5F50CF
split-complementary
#CF5081 #50CF5F #50C1CF
monochromatic
#812348 #B13162 #CF5081 #DC80A4 #E9B0C6

Accessibility & contrast

On white

4.10
#CF5081 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF5081 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5081
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5081#FFFFFF#000000##000000
##CF50811.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E82
Deuteranopia (green-blind)
#89867E
Tritanopia (blue-blind)
#DF4463
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5081;
/* rgb */ color: rgb(207, 80, 129);
/* oklch */ color: oklch(61.2% 0.167 359.3);
Tailwind
colors: {
  custom: {
    50: '#e287a5',
    500: '#cf5081',
    950: '#000000',
  },
}
SCSS
$custom: #cf5081;
$custom-light: #e287a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5081",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 129
  },
  "hsl": {
    "h": 336.85,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.16679,
    "h": 359.3
  },
  "luminance": 0.20588
}

Semantic roles & 50–950 ramp

primary
#CF5081
secondary
#A3D8C3
accent
#E0A548
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5081

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

Preview Lab → · Contrast checker → · Palette generator →

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