#CB5BAF#CB5BAF

#CB5BAF is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.7% C 0.173 H 338.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CB5BAF
RGBrgb(203, 91, 175)
HSLhsl(315, 52%, 58%)
HSVhsv(315, 55%, 80%)
CMYKcmyk(0%, 55.2%, 13.8%, 20.4%)
CIE-LABlab(55.36, 54.56, -23.87)
CIE-LCHlch(55.36, 59.55, 336.37°)
OKLaboklab(63.75% 0.1601 -0.0643)
OKLCHoklch(63.75% 0.173 338.1)
XYZxyz(36.1080, 23.2766, 43.1402)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BAF #5BCB77
analogous
#AF5BCB #CB5BAF #CB5B77
triadic
#CB5BAF #AFCB5B #5BAFCB
tetradic
#CB5BAF #CBAF5B #5BCB77 #5B77CB
square
#CB5BAF #CBAF5B #5BCB77 #5B77CB
split-complementary
#CB5BAF #77CB5B #5BCBAF
monochromatic
#82296C #B13893 #CB5BAF #DA89C6 #E8B8DC

Accessibility & contrast

On white

3.71
#CB5BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CB5BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BAF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BAF#FFFFFF#000000##000000
##CB5BAF1.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB2
Deuteranopia (green-blind)
#7F8BAC
Tritanopia (blue-blind)
#D55F7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5baf;
/* rgb */ color: rgb(203, 91, 175);
/* oklch */ color: oklch(63.7% 0.173 338.1);
Tailwind
colors: {
  custom: {
    50: '#dd8ec7',
    500: '#cb5baf',
    950: '#000000',
  },
}
SCSS
$custom: #cb5baf;
$custom-light: #dd8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5baf",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 315,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6375,
    "c": 0.17253,
    "h": 338.1
  },
  "luminance": 0.23274
}

Semantic roles & 50–950 ramp

primary
#CB5BAF
secondary
#AAD7B6
accent
#DB704C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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