#CF5280#CF5280

#CF5280 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.4% C 0.164 H 0.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF5280
RGBrgb(207, 82, 128)
HSLhsl(338, 57%, 57%)
HSVhsv(338, 60%, 81%)
CMYKcmyk(0%, 60.4%, 38.2%, 18.8%)
CIE-LABlab(52.80, 53.62, -0.02)
CIE-LCHlch(52.80, 53.62, 359.98°)
OKLaboklab(61.44% 0.1637 0.0006)
OKLCHoklch(61.44% 0.164 0.2)
XYZxyz(32.6477, 20.8621, 22.7254)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5280 #52CFA1
analogous
#CF52BF #CF5280 #CF6352
triadic
#CF5280 #80CF52 #5280CF
tetradic
#CF5280 #BFCF52 #52CFA1 #6352CF
square
#CF5280 #BFCF52 #52CFA1 #6352CF
split-complementary
#CF5280 #52CF63 #52BFCF
monochromatic
#822447 #B23161 #CF5280 #DC82A3 #EAB2C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5280#FFFFFF#000000##000000
##CF52801.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)
#686F81
Deuteranopia (green-blind)
#8A877D
Tritanopia (blue-blind)
#DF4664
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5280;
/* rgb */ color: rgb(207, 82, 128);
/* oklch */ color: oklch(61.4% 0.164 0.2);
Tailwind
colors: {
  custom: {
    50: '#e288a4',
    500: '#cf5280',
    950: '#000000',
  },
}
SCSS
$custom: #cf5280;
$custom-light: #e288a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5280",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 337.92,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.16368,
    "h": 0.2
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#CF5280
secondary
#A5D8C5
accent
#E0A848
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF5280

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

Preview Lab → · Contrast checker → · Palette generator →

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