#CB38A6#CB38A6

#CB38A6 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.6% C 0.214 H 340.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CB38A6
RGBrgb(203, 56, 166)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 72.4%, 18.2%, 20.4%)
CIE-LABlab(49.84, 67.39, -27.13)
CIE-LCHlch(49.84, 72.65, 338.07°)
OKLaboklab(59.58% 0.2008 -0.0732)
OKLCHoklch(59.58% 0.214 340)
XYZxyz(32.9266, 18.2812, 37.8636)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A6 #38CB5D
analogous
#A638CB #CB38A6 #CB385C
triadic
#CB38A6 #A6CB38 #38A6CB
tetradic
#CB38A6 #CBA638 #38CB5D #385CCB
square
#CB38A6 #CBA638 #38CB5D #385CCB
split-complementary
#CB38A6 #5CCB38 #38CBA6
monochromatic
#6C1C58 #9D2980 #CB38A6 #D869BC #E499D1

Accessibility & contrast

On white

4.51
#CB38A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CB38A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38A6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38A6#FFFFFF#000000##000000
##CB38A61.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4268A9
Deuteranopia (green-blind)
#717FA3
Tritanopia (blue-blind)
#D73D6B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb38a6;
/* rgb */ color: rgb(203, 56, 166);
/* oklch */ color: oklch(59.6% 0.214 340.0);
Tailwind
colors: {
  custom: {
    50: '#df7cc0',
    500: '#cb38a6',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a6;
$custom-light: #df7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a6",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 166
  },
  "hsl": {
    "h": 315.102,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.21377,
    "h": 340
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#CB38A6
secondary
#8FD09F
accent
#E26D46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB38A6

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

Preview Lab → · Contrast checker → · Palette generator →

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