#CB7EA5#CB7EA5

#CB7EA5 is a light, moderate pink. Relative luminance 0.303; OKLCH L 68.6% C 0.107 H 348.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CB7EA5
RGBrgb(203, 126, 165)
HSLhsl(330, 43%, 65%)
HSVhsv(330, 38%, 80%)
CMYKcmyk(0%, 37.9%, 18.7%, 20.4%)
CIE-LABlab(61.94, 35.20, -8.13)
CIE-LCHlch(61.94, 36.13, 346.99°)
OKLaboklab(68.58% 0.1047 -0.0212)
OKLCHoklch(68.58% 0.107 348.6)
XYZxyz(38.8815, 30.3372, 39.3978)
Luminance0.3034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EA5 #7ECBA4
analogous
#CA7ECB #CB7EA5 #CB7E7F
triadic
#CB7EA5 #A5CB7E #7EA5CB
tetradic
#CB7EA5 #CBCA7E #7ECBA4 #7E7FCB
square
#CB7EA5 #CBCA7E #7ECBA4 #7E7FCB
split-complementary
#CB7EA5 #7FCB7E #7ECBCA
monochromatic
#933B68 #B95287 #CB7EA5 #DDAAC3 #EED5E2

Accessibility & contrast

On white

2.97
#CB7EA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CB7EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EA5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EA5#FFFFFF#000000##000000
##CB7EA51.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA6
Deuteranopia (green-blind)
#989AA3
Tritanopia (blue-blind)
#D57C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb7ea5;
/* rgb */ color: rgb(203, 126, 165);
/* oklch */ color: oklch(68.6% 0.107 348.6);
Tailwind
colors: {
  custom: {
    50: '#dca4bf',
    500: '#cb7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ea5;
$custom-light: #dca4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ea5",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 329.61,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68575,
    "c": 0.10685,
    "h": 348.6
  },
  "luminance": 0.30335
}

Semantic roles & 50–950 ramp

primary
#CB7EA5
secondary
#C5E0D2
accent
#B67230
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CB7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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