#CF5185#CF5185

#CF5185 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.167 H 357.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF5185
RGBrgb(207, 81, 133)
HSLhsl(335, 57%, 56%)
HSVhsv(335, 61%, 81%)
CMYKcmyk(0%, 60.9%, 35.7%, 18.8%)
CIE-LABlab(52.78, 54.63, -3.02)
CIE-LCHlch(52.78, 54.71, 356.84°)
OKLaboklab(61.47% 0.1667 -0.0072)
OKLCHoklch(61.47% 0.167 357.5)
XYZxyz(32.9101, 20.8473, 24.4765)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5185 #51CF9B
analogous
#CF51C4 #CF5185 #CF5C51
triadic
#CF5185 #85CF51 #5185CF
tetradic
#CF5185 #C4CF51 #51CF9B #5C51CF
square
#CF5185 #C4CF51 #51CF9B #5C51CF
split-complementary
#CF5185 #51CF5C #51C4CF
monochromatic
#82244B #B23166 #CF5185 #DC81A7 #E9B1C8

Accessibility & contrast

On white

4.06
#CF5185 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CF5185 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5185
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5185#FFFFFF#000000##000000
##CF51851.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#666F87
Deuteranopia (green-blind)
#888782
Tritanopia (blue-blind)
#DF4765
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5185;
/* rgb */ color: rgb(207, 81, 133);
/* oklch */ color: oklch(61.5% 0.167 357.5);
Tailwind
colors: {
  custom: {
    50: '#e288a8',
    500: '#cf5185',
    950: '#000000',
  },
}
SCSS
$custom: #cf5185;
$custom-light: #e288a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5185",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 335.238,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61474,
    "c": 0.16689,
    "h": 357.5
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#CF5185
secondary
#A4D8C2
accent
#E0A148
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5185

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

Preview Lab → · Contrast checker → · Palette generator →

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