#CB5795#CB5795

#CB5795 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.2% C 0.162 H 349.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CB5795
RGBrgb(203, 87, 149)
HSLhsl(328, 53%, 57%)
HSVhsv(328, 57%, 80%)
CMYKcmyk(0%, 57.1%, 26.6%, 20.4%)
CIE-LABlab(53.69, 52.66, -11.20)
CIE-LCHlch(53.69, 53.84, 347.99°)
OKLaboklab(62.2% 0.1592 -0.0292)
OKLCHoklch(62.2% 0.162 349.6)
XYZxyz(33.4629, 21.6860, 30.8514)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5795 #57CB8D
analogous
#C757CB #CB5795 #CB575B
triadic
#CB5795 #95CB57 #5795CB
tetradic
#CB5795 #CBC757 #57CB8D #575BCB
square
#CB5795 #CBC757 #57CB8D #575BCB
split-complementary
#CB5795 #5BCB57 #57CBC7
monochromatic
#802857 #AF3677 #CB5795 #D986B2 #E8B4D0

Accessibility & contrast

On white

3.94
#CB5795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CB5795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5795
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5795#FFFFFF#000000##000000
##CB57951.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#657497
Deuteranopia (green-blind)
#858892
Tritanopia (blue-blind)
#D8536F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5795;
/* rgb */ color: rgb(203, 87, 149);
/* oklch */ color: oklch(62.2% 0.162 349.6);
Tailwind
colors: {
  custom: {
    50: '#de8bb4',
    500: '#cb5795',
    950: '#000000',
  },
}
SCSS
$custom: #cb5795;
$custom-light: #de8bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5795",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 327.931,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62199,
    "c": 0.16188,
    "h": 349.6
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#CB5795
secondary
#A7D7BD
accent
#DC8F4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5795

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

Preview Lab → · Contrast checker → · Palette generator →

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