#CB487F#CB487F

#CB487F is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.6% C 0.173 H 357.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CB487F
RGBrgb(203, 72, 127)
HSLhsl(335, 56%, 54%)
HSVhsv(335, 65%, 80%)
CMYKcmyk(0%, 64.5%, 37.4%, 20.4%)
CIE-LABlab(50.53, 56.58, -2.82)
CIE-LCHlch(50.53, 56.65, 357.15°)
OKLaboklab(59.62% 0.173 -0.0067)
OKLCHoklch(59.62% 0.173 357.8)
XYZxyz(30.7786, 18.8671, 22.0954)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB487F #48CB94
analogous
#CB48C1 #CB487F #CB5348
triadic
#CB487F #7FCB48 #487FCB
tetradic
#CB487F #C1CB48 #48CB94 #5348CB
square
#CB487F #C1CB48 #48CB94 #5348CB
split-complementary
#CB487F #48CB53 #48C1CB
monochromatic
#772245 #A62F61 #CB487F #D978A0 #E6A7C2

Accessibility & contrast

On white

4.40
#CB487F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#CB487F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB487F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB487F#FFFFFF#000000##000000
##CB487F1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6981
Deuteranopia (green-blind)
#83817C
Tritanopia (blue-blind)
#DB3C5E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb487f;
/* rgb */ color: rgb(203, 72, 127);
/* oklch */ color: oklch(59.6% 0.173 357.8);
Tailwind
colors: {
  custom: {
    50: '#df83a4',
    500: '#cb487f',
    950: '#000000',
  },
}
SCSS
$custom: #cb487f;
$custom-light: #df83a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb487f",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 334.809,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.17314,
    "h": 357.8
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

primary
#CB487F
secondary
#9BD3BC
accent
#DFA049
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB487F

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

Preview Lab → · Contrast checker → · Palette generator →

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