#CF5281#CF5281

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

Color values

HEX#CF5281
RGBrgb(207, 82, 129)
HSLhsl(337, 57%, 57%)
HSVhsv(337, 60%, 81%)
CMYKcmyk(0%, 60.4%, 37.7%, 18.8%)
CIE-LABlab(52.83, 53.73, -0.57)
CIE-LCHlch(52.83, 53.74, 359.39°)
OKLaboklab(61.47% 0.164 -0.0008)
OKLCHoklch(61.47% 0.164 359.7)
XYZxyz(32.7138, 20.8886, 23.0737)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5281 #52CFA0
analogous
#CF52C0 #CF5281 #CF6252
triadic
#CF5281 #81CF52 #5281CF
tetradic
#CF5281 #C0CF52 #52CFA0 #6252CF
square
#CF5281 #C0CF52 #52CFA0 #6252CF
split-complementary
#CF5281 #52CF62 #52C0CF
monochromatic
#822448 #B23162 #CF5281 #DC82A4 #EAB2C7

Accessibility & contrast

On white

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

On black

5.18
#CF5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5281
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5281#FFFFFF#000000##000000
##CF52811.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#686F82
Deuteranopia (green-blind)
#89877E
Tritanopia (blue-blind)
#DF4664
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf5281;
/* rgb */ color: rgb(207, 82, 129);
/* oklch */ color: oklch(61.5% 0.164 359.7);
Tailwind
colors: {
  custom: {
    50: '#e289a5',
    500: '#cf5281',
    950: '#000000',
  },
}
SCSS
$custom: #cf5281;
$custom-light: #e289a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5281",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 337.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61469,
    "c": 0.16402,
    "h": 359.7
  },
  "luminance": 0.20885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5281

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

Preview Lab → · Contrast checker → · Palette generator →

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