#CB5170#CB5170

#CB5170 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.2% C 0.157 H 7.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CB5170
RGBrgb(203, 81, 112)
HSLhsl(345, 54%, 56%)
HSVhsv(345, 60%, 80%)
CMYKcmyk(0%, 60.1%, 44.8%, 20.4%)
CIE-LABlab(51.56, 51.10, 7.67)
CIE-LCHlch(51.56, 51.68, 8.54°)
OKLaboklab(60.25% 0.1555 0.0202)
OKLCHoklch(60.25% 0.157 7.4)
XYZxyz(30.4978, 19.7548, 17.5331)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5170 #51CBAC
analogous
#CB51AD #CB5170 #CB6F51
triadic
#CB5170 #70CB51 #5170CB
tetradic
#CB5170 #ADCB51 #51CBAC #6F51CB
square
#CB5170 #ADCB51 #51CBAC #6F51CB
split-complementary
#CB5170 #51CB6F #51ADCB
monochromatic
#7C253B #AC3352 #CB5170 #D98097 #E7AFBD

Accessibility & contrast

On white

4.24
#CB5170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CB5170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5170
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5170#FFFFFF#000000##000000
##CB51701.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C71
Deuteranopia (green-blind)
#8A846D
Tritanopia (blue-blind)
#DC425D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5170;
/* rgb */ color: rgb(203, 81, 112);
/* oklch */ color: oklch(60.2% 0.157 7.4);
Tailwind
colors: {
  custom: {
    50: '#df8798',
    500: '#cb5170',
    950: '#000000',
  },
}
SCSS
$custom: #cb5170;
$custom-light: #df8798;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5170",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 344.754,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60246,
    "c": 0.15675,
    "h": 7.4
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#CB5170
secondary
#A3D5C8
accent
#DDB84A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CB5170

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

Preview Lab → · Contrast checker → · Palette generator →

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