#CB5175#CB5175

#CB5175 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.158 H 4.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB5175
RGBrgb(203, 81, 117)
HSLhsl(342, 54%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60.1%, 42.4%, 20.4%)
CIE-LABlab(51.69, 51.61, 4.86)
CIE-LCHlch(51.69, 51.84, 5.38°)
OKLaboklab(60.39% 0.1573 0.0131)
OKLCHoklch(60.39% 0.158 4.8)
XYZxyz(30.7840, 19.8692, 19.0402)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5175 #51CBA7
analogous
#CB51B2 #CB5175 #CB6A51
triadic
#CB5175 #75CB51 #5175CB
tetradic
#CB5175 #B2CB51 #51CBA7 #6A51CB
square
#CB5175 #B2CB51 #51CBA7 #6A51CB
split-complementary
#CB5175 #51CB6A #51B2CB
monochromatic
#7C253F #AC3357 #CB5175 #D9809A #E7AFC0

Accessibility & contrast

On white

4.22
#CB5175 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB5175 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5175
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5175#FFFFFF#000000##000000
##CB51751.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C76
Deuteranopia (green-blind)
#898472
Tritanopia (blue-blind)
#DB435F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5175;
/* rgb */ color: rgb(203, 81, 117);
/* oklch */ color: oklch(60.4% 0.158 4.8);
Tailwind
colors: {
  custom: {
    50: '#df879c',
    500: '#cb5175',
    950: '#000000',
  },
}
SCSS
$custom: #cb5175;
$custom-light: #df879c;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5175",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 342.295,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.15784,
    "h": 4.8
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#CB5175
secondary
#A3D5C6
accent
#DDB24A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB5175

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

Preview Lab → · Contrast checker → · Palette generator →

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