#CF5285#CF5285

#CF5285 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.165 H 357.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CF5285
RGBrgb(207, 82, 133)
HSLhsl(336, 57%, 57%)
HSVhsv(336, 60%, 81%)
CMYKcmyk(0%, 60.4%, 35.7%, 18.8%)
CIE-LABlab(52.95, 54.19, -2.78)
CIE-LCHlch(52.95, 54.26, 357.07°)
OKLaboklab(61.6% 0.1654 -0.0066)
OKLCHoklch(61.6% 0.165 357.7)
XYZxyz(32.9849, 20.9970, 24.5015)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5285 #52CF9C
analogous
#CF52C4 #CF5285 #CF5E52
triadic
#CF5285 #85CF52 #5285CF
tetradic
#CF5285 #C4CF52 #52CF9C #5E52CF
square
#CF5285 #C4CF52 #52CF9C #5E52CF
split-complementary
#CF5285 #52CF5E #52C4CF
monochromatic
#82244B #B23166 #CF5285 #DC82A7 #EAB2C9

Accessibility & contrast

On white

4.04
#CF5285 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF5285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5285
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5285#FFFFFF#000000##000000
##CF52851.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#677086
Deuteranopia (green-blind)
#898782
Tritanopia (blue-blind)
#DF4866
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5285;
/* rgb */ color: rgb(207, 82, 133);
/* oklch */ color: oklch(61.6% 0.165 357.7);
Tailwind
colors: {
  custom: {
    50: '#e289a8',
    500: '#cf5285',
    950: '#000000',
  },
}
SCSS
$custom: #cf5285;
$custom-light: #e289a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5285",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 335.52,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61596,
    "c": 0.16548,
    "h": 357.7
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#CF5285
secondary
#A5D8C3
accent
#E0A248
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5285

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

Preview Lab → · Contrast checker → · Palette generator →

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