#CB38AC#CB38AC

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

Color values

HEX#CB38AC
RGBrgb(203, 56, 172)
HSLhsl(313, 59%, 51%)
HSVhsv(313, 72%, 80%)
CMYKcmyk(0%, 72.4%, 15.3%, 20.4%)
CIE-LABlab(50.10, 68.22, -30.25)
CIE-LCHlch(50.10, 74.62, 336.09°)
OKLaboklab(59.87% 0.2016 -0.0821)
OKLCHoklch(59.87% 0.218 337.8)
XYZxyz(33.4899, 18.5065, 40.8301)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38AC #38CB57
analogous
#A038CB #CB38AC #CB3862
triadic
#CB38AC #ACCB38 #38ACCB
tetradic
#CB38AC #CBA038 #38CB57 #3862CB
square
#CB38AC #CBA038 #38CB57 #3862CB
split-complementary
#CB38AC #62CB38 #38CBA0
monochromatic
#6C1C5B #9D2984 #CB38AC #D869C0 #E499D4

Accessibility & contrast

On white

4.47
#CB38AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CB38AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38AC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38AC#FFFFFF#000000##000000
##CB38AC1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb38ac;
/* rgb */ color: rgb(203, 56, 172);
/* oklch */ color: oklch(59.9% 0.218 337.8);
Tailwind
colors: {
  custom: {
    50: '#df7cc5',
    500: '#cb38ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb38ac;
$custom-light: #df7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38ac",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 312.653,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59867,
    "c": 0.21769,
    "h": 337.8
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#CB38AC
secondary
#8FD09D
accent
#E26746
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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