#CB38AD#CB38AD

#CB38AD is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.9% C 0.218 H 337.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CB38AD
RGBrgb(203, 56, 173)
HSLhsl(312, 59%, 51%)
HSVhsv(312, 72%, 80%)
CMYKcmyk(0%, 72.4%, 14.8%, 20.4%)
CIE-LABlab(50.15, 68.36, -30.77)
CIE-LCHlch(50.15, 74.96, 335.77°)
OKLaboklab(59.92% 0.2017 -0.0836)
OKLCHoklch(59.92% 0.218 337.5)
XYZxyz(33.5863, 18.5451, 41.3378)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38AD #38CB56
analogous
#9F38CB #CB38AD #CB3863
triadic
#CB38AD #ADCB38 #38ADCB
tetradic
#CB38AD #CB9F38 #38CB56 #3863CB
square
#CB38AD #CB9F38 #38CB56 #3863CB
split-complementary
#CB38AD #63CB38 #38CB9F
monochromatic
#6C1C5C #9D2985 #CB38AD #D869C1 #E499D5

Accessibility & contrast

On white

4.46
#CB38AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CB38AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38AD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38AD#FFFFFF#000000##000000
##CB38AD1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#6F7FAA
Tritanopia (blue-blind)
#D6406E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb38ad;
/* rgb */ color: rgb(203, 56, 173);
/* oklch */ color: oklch(59.9% 0.218 337.5);
Tailwind
colors: {
  custom: {
    50: '#df7cc5',
    500: '#cb38ad',
    950: '#000000',
  },
}
SCSS
$custom: #cb38ad;
$custom-light: #df7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38ad",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 312.245,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.21836,
    "h": 337.5
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#CB38AD
secondary
#8FD09C
accent
#E26646
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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