#CB5195#CB5195

#CB5195 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.4% C 0.171 H 348.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB5195
RGBrgb(203, 81, 149)
HSLhsl(327, 54%, 56%)
HSVhsv(327, 60%, 80%)
CMYKcmyk(0%, 60.1%, 26.6%, 20.4%)
CIE-LABlab(52.68, 55.38, -12.73)
CIE-LCHlch(52.68, 56.82, 347.06°)
OKLaboklab(61.45% 0.1676 -0.0333)
OKLCHoklch(61.45% 0.171 348.8)
XYZxyz(32.9971, 20.7545, 30.6962)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5195 #51CB87
analogous
#C451CB #CB5195 #CB5158
triadic
#CB5195 #95CB51 #5195CB
tetradic
#CB5195 #CBC451 #51CB87 #5158CB
square
#CB5195 #CBC451 #51CB87 #5158CB
split-complementary
#CB5195 #58CB51 #51CBC4
monochromatic
#7C2556 #AC3376 #CB5195 #D980B2 #E7AFCE

Accessibility & contrast

On white

4.08
#CB5195 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CB5195 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5195
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5195#FFFFFF#000000##000000
##CB51951.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607097
Deuteranopia (green-blind)
#828692
Tritanopia (blue-blind)
#D84D6C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5195;
/* rgb */ color: rgb(203, 81, 149);
/* oklch */ color: oklch(61.4% 0.171 348.8);
Tailwind
colors: {
  custom: {
    50: '#de88b4',
    500: '#cb5195',
    950: '#000000',
  },
}
SCSS
$custom: #cb5195;
$custom-light: #de88b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5195",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 326.557,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.17084,
    "h": 348.8
  },
  "luminance": 0.20751
}

Semantic roles & 50–950 ramp

primary
#CB5195
secondary
#A3D5B9
accent
#DD8B4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5195

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

Preview Lab → · Contrast checker → · Palette generator →

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