#CB38A8#CB38A8

#CB38A8 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.7% C 0.215 H 339.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CB38A8
RGBrgb(203, 56, 168)
HSLhsl(314, 59%, 51%)
HSVhsv(314, 72%, 80%)
CMYKcmyk(0%, 72.4%, 17.2%, 20.4%)
CIE-LABlab(49.92, 67.66, -28.18)
CIE-LCHlch(49.92, 73.29, 337.39°)
OKLaboklab(59.68% 0.2011 -0.0762)
OKLCHoklch(59.68% 0.215 339.2)
XYZxyz(33.1115, 18.3552, 38.8373)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A8 #38CB5B
analogous
#A538CB #CB38A8 #CB385E
triadic
#CB38A8 #A8CB38 #38A8CB
tetradic
#CB38A8 #CBA538 #38CB5B #385ECB
square
#CB38A8 #CBA538 #38CB5B #385ECB
split-complementary
#CB38A8 #5ECB38 #38CBA5
monochromatic
#6C1C59 #9D2981 #CB38A8 #D869BD #E499D2

Accessibility & contrast

On white

4.50
#CB38A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CB38A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38A8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38A8#FFFFFF#000000##000000
##CB38A81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#717FA5
Tritanopia (blue-blind)
#D73E6C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb38a8;
/* rgb */ color: rgb(203, 56, 168);
/* oklch */ color: oklch(59.7% 0.215 339.2);
Tailwind
colors: {
  custom: {
    50: '#df7cc2',
    500: '#cb38a8',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a8;
$custom-light: #df7cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a8",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 168
  },
  "hsl": {
    "h": 314.286,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.21507,
    "h": 339.2
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

primary
#CB38A8
secondary
#8FD09E
accent
#E26B46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB38A8

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

Preview Lab → · Contrast checker → · Palette generator →

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