#CB38A2#CB38A2

#CB38A2 is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.4% C 0.211 H 341.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CB38A2
RGBrgb(203, 56, 162)
HSLhsl(317, 59%, 51%)
HSVhsv(317, 72%, 80%)
CMYKcmyk(0%, 72.4%, 20.2%, 20.4%)
CIE-LABlab(49.66, 66.85, -25.04)
CIE-LCHlch(49.66, 71.38, 339.47°)
OKLaboklab(59.4% 0.2002 -0.0673)
OKLCHoklch(59.4% 0.211 341.4)
XYZxyz(32.5654, 18.1368, 35.9611)
Luminance0.1813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A2 #38CB61
analogous
#AB38CB #CB38A2 #CB3858
triadic
#CB38A2 #A2CB38 #38A2CB
tetradic
#CB38A2 #CBAB38 #38CB61 #3858CB
square
#CB38A2 #CBAB38 #38CB61 #3858CB
split-complementary
#CB38A2 #58CB38 #38CBAB
monochromatic
#6C1C56 #9D297D #CB38A2 #D869B9 #E499CF

Accessibility & contrast

On white

4.54
#CB38A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CB38A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38A2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38A2#FFFFFF#000000##000000
##CB38A21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#D73B69
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb38a2;
/* rgb */ color: rgb(203, 56, 162);
/* oklch */ color: oklch(59.4% 0.211 341.4);
Tailwind
colors: {
  custom: {
    50: '#df7cbd',
    500: '#cb38a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a2;
$custom-light: #df7cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a2",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 162
  },
  "hsl": {
    "h": 316.735,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.21124,
    "h": 341.4
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#CB38A2
secondary
#8FD0A1
accent
#E27146
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB38A2

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

Preview Lab → · Contrast checker → · Palette generator →

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