#CB38A5#CB38A5

#CB38A5 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.5% C 0.213 H 340.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CB38A5
RGBrgb(203, 56, 165)
HSLhsl(316, 59%, 51%)
HSVhsv(316, 72%, 80%)
CMYKcmyk(0%, 72.4%, 18.7%, 20.4%)
CIE-LABlab(49.79, 67.25, -26.61)
CIE-LCHlch(49.79, 72.32, 338.41°)
OKLaboklab(59.54% 0.2007 -0.0718)
OKLCHoklch(59.54% 0.213 340.3)
XYZxyz(32.8352, 18.2447, 37.3823)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A5 #38CB5E
analogous
#A738CB #CB38A5 #CB385B
triadic
#CB38A5 #A5CB38 #38A5CB
tetradic
#CB38A5 #CBA738 #38CB5E #385BCB
square
#CB38A5 #CBA738 #38CB5E #385BCB
split-complementary
#CB38A5 #5BCB38 #38CBA7
monochromatic
#6C1C58 #9D297F #CB38A5 #D869BB #E499D1

Accessibility & contrast

On white

4.52
#CB38A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CB38A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38A5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38A5#FFFFFF#000000##000000
##CB38A51.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4367A8
Deuteranopia (green-blind)
#727FA2
Tritanopia (blue-blind)
#D73C6A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb38a5;
/* rgb */ color: rgb(203, 56, 165);
/* oklch */ color: oklch(59.5% 0.213 340.3);
Tailwind
colors: {
  custom: {
    50: '#df7cc0',
    500: '#cb38a5',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a5;
$custom-light: #df7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a5",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 315.51,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59538,
    "c": 0.21313,
    "h": 340.3
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#CB38A5
secondary
#8FD0A0
accent
#E26E46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB38A5

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

Preview Lab → · Contrast checker → · Palette generator →

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