#CB38A0#CB38A0

#CB38A0 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.3% C 0.210 H 342.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CB38A0
RGBrgb(203, 56, 160)
HSLhsl(318, 59%, 51%)
HSVhsv(318, 72%, 80%)
CMYKcmyk(0%, 72.4%, 21.2%, 20.4%)
CIE-LABlab(49.58, 66.58, -23.98)
CIE-LCHlch(49.58, 70.77, 340.19°)
OKLaboklab(59.31% 0.1999 -0.0644)
OKLCHoklch(59.31% 0.21 342.2)
XYZxyz(32.3890, 18.0662, 35.0323)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A0 #38CB63
analogous
#AC38CB #CB38A0 #CB3856
triadic
#CB38A0 #A0CB38 #38A0CB
tetradic
#CB38A0 #CBAC38 #38CB63 #3856CB
square
#CB38A0 #CBAC38 #38CB63 #3856CB
split-complementary
#CB38A0 #56CB38 #38CBAC
monochromatic
#6C1C55 #9D297B #CB38A0 #D869B7 #E499CE

Accessibility & contrast

On white

4.55
#CB38A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CB38A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38A0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38A0#FFFFFF#000000##000000
##CB38A01.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4667A3
Deuteranopia (green-blind)
#747F9D
Tritanopia (blue-blind)
#D83A67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb38a0;
/* rgb */ color: rgb(203, 56, 160);
/* oklch */ color: oklch(59.3% 0.210 342.2);
Tailwind
colors: {
  custom: {
    50: '#df7cbc',
    500: '#cb38a0',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a0;
$custom-light: #df7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a0",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 160
  },
  "hsl": {
    "h": 317.551,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.21001,
    "h": 342.2
  },
  "luminance": 0.18063
}

Semantic roles & 50–950 ramp

primary
#CB38A0
secondary
#8FD0A2
accent
#E27446
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB38A0

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

Preview Lab → · Contrast checker → · Palette generator →

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