#CF5082#CF5082

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

Color values

HEX#CF5082
RGBrgb(207, 80, 130)
HSLhsl(336, 57%, 56%)
HSVhsv(336, 61%, 81%)
CMYKcmyk(0%, 61.4%, 37.2%, 18.8%)
CIE-LABlab(52.53, 54.73, -1.60)
CIE-LCHlch(52.53, 54.75, 358.32°)
OKLaboklab(61.26% 0.1671 -0.0035)
OKLCHoklch(61.26% 0.167 358.8)
XYZxyz(32.6320, 20.6180, 23.3760)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5082 #50CF9D
analogous
#CF50C2 #CF5082 #CF5E50
triadic
#CF5082 #82CF50 #5082CF
tetradic
#CF5082 #C2CF50 #50CF9D #5E50CF
square
#CF5082 #C2CF50 #50CF9D #5E50CF
split-complementary
#CF5082 #50CF5E #50C2CF
monochromatic
#812348 #B13163 #CF5082 #DC80A4 #E9B0C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5082#FFFFFF#000000##000000
##CF50821.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)
#666E83
Deuteranopia (green-blind)
#88867F
Tritanopia (blue-blind)
#DF4564
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf5082;
/* rgb */ color: rgb(207, 80, 130);
/* oklch */ color: oklch(61.3% 0.167 358.8);
Tailwind
colors: {
  custom: {
    50: '#e287a6',
    500: '#cf5082',
    950: '#000000',
  },
}
SCSS
$custom: #cf5082;
$custom-light: #e287a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5082",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 336.378,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61256,
    "c": 0.16716,
    "h": 358.8
  },
  "luminance": 0.20614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5082

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

Preview Lab → · Contrast checker → · Palette generator →

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