#CB7EB5#CB7EB5

#CB7EB5 is a light, moderate pink. Relative luminance 0.310; OKLCH L 69.1% C 0.118 H 338.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CB7EB5
RGBrgb(203, 126, 181)
HSLhsl(317, 43%, 65%)
HSVhsv(317, 38%, 80%)
CMYKcmyk(0%, 37.9%, 10.8%, 20.4%)
CIE-LABlab(62.47, 37.80, -16.45)
CIE-LCHlch(62.47, 41.22, 336.48°)
OKLaboklab(69.15% 0.1097 -0.0439)
OKLCHoklch(69.15% 0.118 338.2)
XYZxyz(40.4299, 30.9566, 47.5528)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EB5 #7ECB94
analogous
#BB7ECB #CB7EB5 #CB7E8F
triadic
#CB7EB5 #B5CB7E #7EB5CB
tetradic
#CB7EB5 #CBBB7E #7ECB94 #7E8FCB
square
#CB7EB5 #CBBB7E #7ECB94 #7E8FCB
split-complementary
#CB7EB5 #8FCB7E #7ECBBB
monochromatic
#933B7A #B9529C #CB7EB5 #DDAACE #EED5E7

Accessibility & contrast

On white

2.92
#CB7EB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CB7EB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EB5
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EB5#FFFFFF#000000##000000
##CB7EB51.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B7
Deuteranopia (green-blind)
#939BB3
Tritanopia (blue-blind)
#D38092
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7eb5;
/* rgb */ color: rgb(203, 126, 181);
/* oklch */ color: oklch(69.1% 0.118 338.2);
Tailwind
colors: {
  custom: {
    50: '#dca5cb',
    500: '#cb7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eb5;
$custom-light: #dca5cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eb5",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 317.143,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69148,
    "c": 0.1182,
    "h": 338.2
  },
  "luminance": 0.30954
}

Semantic roles & 50–950 ramp

primary
#CB7EB5
secondary
#C5E0CD
accent
#B65630
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CB7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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