#CB5197#CB5197

#CB5197 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.172 H 347.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB5197
RGBrgb(203, 81, 151)
HSLhsl(326, 54%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 60.1%, 25.6%, 20.4%)
CIE-LABlab(52.75, 55.64, -13.80)
CIE-LCHlch(52.75, 57.33, 346.07°)
OKLaboklab(61.52% 0.1681 -0.0363)
OKLCHoklch(61.52% 0.172 347.8)
XYZxyz(33.1582, 20.8189, 31.5443)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5197 #51CB85
analogous
#C251CB #CB5197 #CB515A
triadic
#CB5197 #97CB51 #5197CB
tetradic
#CB5197 #CBC251 #51CB85 #515ACB
square
#CB5197 #CBC251 #51CB85 #515ACB
split-complementary
#CB5197 #5ACB51 #51CBC2
monochromatic
#7C2557 #AC3378 #CB5197 #D980B3 #E7AFCF

Accessibility & contrast

On white

4.07
#CB5197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB5197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5197
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5197#FFFFFF#000000##000000
##CB51971.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#818694
Tritanopia (blue-blind)
#D84E6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5197;
/* rgb */ color: rgb(203, 81, 151);
/* oklch */ color: oklch(61.5% 0.172 347.8);
Tailwind
colors: {
  custom: {
    50: '#de88b5',
    500: '#cb5197',
    950: '#000000',
  },
}
SCSS
$custom: #cb5197;
$custom-light: #de88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5197",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 325.574,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61524,
    "c": 0.17196,
    "h": 347.8
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#CB5197
secondary
#A3D5B8
accent
#DD894A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5197

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

Preview Lab → · Contrast checker → · Palette generator →

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