#CB7EA8#CB7EA8

#CB7EA8 is a light, moderate pink. Relative luminance 0.304; OKLCH L 68.7% C 0.109 H 346.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CB7EA8
RGBrgb(203, 126, 168)
HSLhsl(327, 43%, 65%)
HSVhsv(327, 38%, 80%)
CMYKcmyk(0%, 37.9%, 17.2%, 20.4%)
CIE-LABlab(62.04, 35.67, -9.70)
CIE-LCHlch(62.04, 36.97, 344.79°)
OKLaboklab(68.68% 0.1057 -0.0254)
OKLCHoklch(68.68% 0.109 346.5)
XYZxyz(39.1578, 30.4477, 40.8527)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EA8 #7ECBA1
analogous
#C87ECB #CB7EA8 #CB7E82
triadic
#CB7EA8 #A8CB7E #7EA8CB
tetradic
#CB7EA8 #CBC87E #7ECBA1 #7E82CB
square
#CB7EA8 #CBC87E #7ECBA1 #7E82CB
split-complementary
#CB7EA8 #82CB7E #7ECBC8
monochromatic
#933B6B #B9528B #CB7EA8 #DDAAC5 #EED5E3

Accessibility & contrast

On white

2.96
#CB7EA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CB7EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EA8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EA8#FFFFFF#000000##000000
##CB7EA81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EAA
Deuteranopia (green-blind)
#979BA6
Tritanopia (blue-blind)
#D57D8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb7ea8;
/* rgb */ color: rgb(203, 126, 168);
/* oklch */ color: oklch(68.7% 0.109 346.5);
Tailwind
colors: {
  custom: {
    50: '#dca4c1',
    500: '#cb7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ea8;
$custom-light: #dca4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ea8",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 327.273,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68678,
    "c": 0.10874,
    "h": 346.5
  },
  "luminance": 0.30445
}

Semantic roles & 50–950 ramp

primary
#CB7EA8
secondary
#C5E0D1
accent
#B66D30
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CB7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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