#CB38A3#CB38A3

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

Color values

HEX#CB38A3
RGBrgb(203, 56, 163)
HSLhsl(316, 59%, 51%)
HSVhsv(316, 72%, 80%)
CMYKcmyk(0%, 72.4%, 19.7%, 20.4%)
CIE-LABlab(49.70, 66.98, -25.56)
CIE-LCHlch(49.70, 71.69, 339.11°)
OKLaboklab(59.45% 0.2004 -0.0688)
OKLCHoklch(59.45% 0.212 341)
XYZxyz(32.6546, 18.1724, 36.4311)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A3 #38CB60
analogous
#AA38CB #CB38A3 #CB3859
triadic
#CB38A3 #A3CB38 #38A3CB
tetradic
#CB38A3 #CBAA38 #38CB60 #3859CB
square
#CB38A3 #CBAA38 #38CB60 #3859CB
split-complementary
#CB38A3 #59CB38 #38CBAA
monochromatic
#6C1C57 #9D297D #CB38A3 #D869B9 #E499D0

Accessibility & contrast

On white

4.53
#CB38A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB38A3#FFFFFF#000000##000000
##CB38A31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb38a3;
/* rgb */ color: rgb(203, 56, 163);
/* oklch */ color: oklch(59.4% 0.212 341.0);
Tailwind
colors: {
  custom: {
    50: '#df7cbe',
    500: '#cb38a3',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a3;
$custom-light: #df7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a3",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 163
  },
  "hsl": {
    "h": 316.327,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.21187,
    "h": 341
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#CB38A3
secondary
#8FD0A1
accent
#E27046
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB38A3

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

Preview Lab → · Contrast checker → · Palette generator →

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