#CF5182#CF5182

#CF5182 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.166 H 359.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CF5182
RGBrgb(207, 81, 130)
HSLhsl(337, 57%, 56%)
HSVhsv(337, 61%, 81%)
CMYKcmyk(0%, 60.9%, 37.2%, 18.8%)
CIE-LABlab(52.69, 54.29, -1.36)
CIE-LCHlch(52.69, 54.30, 358.56°)
OKLaboklab(61.38% 0.1657 -0.0029)
OKLCHoklch(61.38% 0.166 359)
XYZxyz(32.7057, 20.7656, 23.4005)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5182 #51CF9E
analogous
#CF51C1 #CF5182 #CF5F51
triadic
#CF5182 #82CF51 #5182CF
tetradic
#CF5182 #C1CF51 #51CF9E #5F51CF
square
#CF5182 #C1CF51 #51CF9E #5F51CF
split-complementary
#CF5182 #51CF5F #51C1CF
monochromatic
#822448 #B23163 #CF5182 #DC81A4 #E9B1C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5182#FFFFFF#000000##000000
##CF51821.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)
#676F83
Deuteranopia (green-blind)
#89877F
Tritanopia (blue-blind)
#DF4664
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5182;
/* rgb */ color: rgb(207, 81, 130);
/* oklch */ color: oklch(61.4% 0.166 359.0);
Tailwind
colors: {
  custom: {
    50: '#e288a6',
    500: '#cf5182',
    950: '#000000',
  },
}
SCSS
$custom: #cf5182;
$custom-light: #e288a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5182",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 336.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.16577,
    "h": 359
  },
  "luminance": 0.20762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5182

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

Preview Lab → · Contrast checker → · Palette generator →

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