#CB7EB4#CB7EB4

#CB7EB4 is a light, moderate pink. Relative luminance 0.309; OKLCH L 69.1% C 0.117 H 338.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CB7EB4
RGBrgb(203, 126, 180)
HSLhsl(318, 43%, 65%)
HSVhsv(318, 38%, 80%)
CMYKcmyk(0%, 37.9%, 11.3%, 20.4%)
CIE-LABlab(62.44, 37.63, -15.93)
CIE-LCHlch(62.44, 40.86, 337.05°)
OKLaboklab(69.11% 0.1094 -0.0425)
OKLCHoklch(69.11% 0.117 338.8)
XYZxyz(40.3277, 30.9157, 47.0143)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EB4 #7ECB95
analogous
#BC7ECB #CB7EB4 #CB7E8E
triadic
#CB7EB4 #B4CB7E #7EB4CB
tetradic
#CB7EB4 #CBBC7E #7ECB95 #7E8ECB
square
#CB7EB4 #CBBC7E #7ECB95 #7E8ECB
split-complementary
#CB7EB4 #8ECB7E #7ECBBC
monochromatic
#933B79 #B9529B #CB7EB4 #DDAACD #EED5E7

Accessibility & contrast

On white

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

On black

7.18
#CB7EB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EB4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EB4#FFFFFF#000000##000000
##CB7EB41.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B6
Deuteranopia (green-blind)
#949BB2
Tritanopia (blue-blind)
#D38092
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7eb4;
/* rgb */ color: rgb(203, 126, 180);
/* oklch */ color: oklch(69.1% 0.117 338.8);
Tailwind
colors: {
  custom: {
    50: '#dca5ca',
    500: '#cb7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eb4;
$custom-light: #dca5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eb4",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 317.922,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6911,
    "c": 0.11741,
    "h": 338.8
  },
  "luminance": 0.30914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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