#CF4081#CF4081

#CF4081 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.188 H 356.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CF4081
RGBrgb(207, 64, 129)
HSLhsl(333, 60%, 53%)
HSVhsv(333, 69%, 81%)
CMYKcmyk(0%, 69.1%, 37.7%, 18.8%)
CIE-LABlab(50.12, 61.12, -4.55)
CIE-LCHlch(50.12, 61.29, 355.74°)
OKLaboklab(59.46% 0.1873 -0.0112)
OKLCHoklch(59.46% 0.188 356.6)
XYZxyz(31.5300, 18.5209, 22.6791)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4081 #40CF8E
analogous
#CF40C9 #CF4081 #CF4640
triadic
#CF4081 #81CF40 #4081CF
tetradic
#CF4081 #C9CF40 #40CF8E #4640CF
square
#CF4081 #C9CF40 #40CF8E #4640CF
split-complementary
#CF4081 #40CF46 #40C9CF
monochromatic
#771E46 #A82A63 #CF4081 #DB71A1 #E8A2C2

Accessibility & contrast

On white

4.46
#CF4081 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CF4081 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4081
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4081#FFFFFF#000000##000000
##CF40811.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6683
Deuteranopia (green-blind)
#82817E
Tritanopia (blue-blind)
#DF315B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4081;
/* rgb */ color: rgb(207, 64, 129);
/* oklch */ color: oklch(59.5% 0.188 356.6);
Tailwind
colors: {
  custom: {
    50: '#e27fa5',
    500: '#cf4081',
    950: '#000000',
  },
}
SCSS
$custom: #cf4081;
$custom-light: #e27fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4081",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 332.727,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.18759,
    "h": 356.6
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#CF4081
secondary
#97D4B8
accent
#E39B45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF4081

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

Preview Lab → · Contrast checker → · Palette generator →

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