#CB7EB2#CB7EB2

#CB7EB2 is a light, moderate pink. Relative luminance 0.308; OKLCH L 69.0% C 0.116 H 340.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CB7EB2
RGBrgb(203, 126, 178)
HSLhsl(319, 43%, 65%)
HSVhsv(319, 38%, 80%)
CMYKcmyk(0%, 37.9%, 12.3%, 20.4%)
CIE-LABlab(62.37, 37.29, -14.90)
CIE-LCHlch(62.37, 40.16, 338.22°)
OKLaboklab(69.04% 0.1089 -0.0397)
OKLCHoklch(69.04% 0.116 340)
XYZxyz(40.1254, 30.8348, 45.9491)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EB2 #7ECB97
analogous
#BE7ECB #CB7EB2 #CB7E8C
triadic
#CB7EB2 #B2CB7E #7EB2CB
tetradic
#CB7EB2 #CBBE7E #7ECB97 #7E8CCB
square
#CB7EB2 #CBBE7E #7ECB97 #7E8CCB
split-complementary
#CB7EB2 #8CCB7E #7ECBBE
monochromatic
#933B77 #B95298 #CB7EB2 #DDAACC #EED5E6

Accessibility & contrast

On white

2.93
#CB7EB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CB7EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EB2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EB2#FFFFFF#000000##000000
##CB7EB21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D37F91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7eb2;
/* rgb */ color: rgb(203, 126, 178);
/* oklch */ color: oklch(69.0% 0.116 340.0);
Tailwind
colors: {
  custom: {
    50: '#dca5c9',
    500: '#cb7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eb2;
$custom-light: #dca5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eb2",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 319.481,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69036,
    "c": 0.11585,
    "h": 340
  },
  "luminance": 0.30833
}

Semantic roles & 50–950 ramp

primary
#CB7EB2
secondary
#C5E0CE
accent
#B65B30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CB7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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