#CF4082#CF4082

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

Color values

HEX#CF4082
RGBrgb(207, 64, 130)
HSLhsl(332, 60%, 53%)
HSVhsv(332, 69%, 81%)
CMYKcmyk(0%, 69.1%, 37.2%, 18.8%)
CIE-LABlab(50.15, 61.22, -5.11)
CIE-LCHlch(50.15, 61.44, 355.23°)
OKLaboklab(59.5% 0.1876 -0.0127)
OKLCHoklch(59.5% 0.188 356.1)
XYZxyz(31.5968, 18.5476, 23.0309)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4082 #40CF8D
analogous
#CF40C9 #CF4082 #CF4540
triadic
#CF4082 #82CF40 #4082CF
tetradic
#CF4082 #C9CF40 #40CF8D #4540CF
square
#CF4082 #C9CF40 #40CF8D #4540CF
split-complementary
#CF4082 #40CF45 #40C9CF
monochromatic
#771E47 #A82A64 #CF4082 #DB71A2 #E8A2C2

Accessibility & contrast

On white

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

On black

4.71
#CF4082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4082
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4082#FFFFFF#000000##000000
##CF40821.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6684
Deuteranopia (green-blind)
#82817F
Tritanopia (blue-blind)
#DF325C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf4082;
/* rgb */ color: rgb(207, 64, 130);
/* oklch */ color: oklch(59.5% 0.188 356.1);
Tailwind
colors: {
  custom: {
    50: '#e27fa6',
    500: '#cf4082',
    950: '#000000',
  },
}
SCSS
$custom: #cf4082;
$custom-light: #e27fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4082",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 332.308,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59498,
    "c": 0.188,
    "h": 356.1
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF4082

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

Preview Lab → · Contrast checker → · Palette generator →

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