#CB7EA2#CB7EA2

#CB7EA2 is a light, moderate pink. Relative luminance 0.302; OKLCH L 68.5% C 0.105 H 350.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CB7EA2
RGBrgb(203, 126, 162)
HSLhsl(332, 43%, 65%)
HSVhsv(332, 38%, 80%)
CMYKcmyk(0%, 37.9%, 20.2%, 20.4%)
CIE-LABlab(61.85, 34.74, -6.56)
CIE-LCHlch(61.85, 35.35, 349.31°)
OKLaboklab(68.47% 0.1037 -0.017)
OKLCHoklch(68.47% 0.105 350.7)
XYZxyz(38.6117, 30.2293, 37.9765)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EA2 #7ECBA7
analogous
#CB7EC8 #CB7EA2 #CB817E
triadic
#CB7EA2 #A2CB7E #7EA2CB
tetradic
#CB7EA2 #C8CB7E #7ECBA7 #817ECB
square
#CB7EA2 #C8CB7E #7ECBA7 #817ECB
split-complementary
#CB7EA2 #7ECB81 #7EC8CB
monochromatic
#933B64 #B95283 #CB7EA2 #DDAAC1 #EED5E1

Accessibility & contrast

On white

2.98
#CB7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#CB7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EA2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EA2#FFFFFF#000000##000000
##CB7EA21.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#868DA3
Deuteranopia (green-blind)
#999AA0
Tritanopia (blue-blind)
#D67C8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb7ea2;
/* rgb */ color: rgb(203, 126, 162);
/* oklch */ color: oklch(68.5% 0.105 350.7);
Tailwind
colors: {
  custom: {
    50: '#dca4bd',
    500: '#cb7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ea2;
$custom-light: #dca4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ea2",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 331.948,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68474,
    "c": 0.10511,
    "h": 350.7
  },
  "luminance": 0.30227
}

Semantic roles & 50–950 ramp

primary
#CB7EA2
secondary
#C5E0D3
accent
#B67730
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CB7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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