#CB38A4#CB38A4

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

Color values

HEX#CB38A4
RGBrgb(203, 56, 164)
HSLhsl(316, 59%, 51%)
HSVhsv(316, 72%, 80%)
CMYKcmyk(0%, 72.4%, 19.2%, 20.4%)
CIE-LABlab(49.75, 67.12, -26.09)
CIE-LCHlch(49.75, 72.01, 338.76°)
OKLaboklab(59.49% 0.2005 -0.0703)
OKLCHoklch(59.49% 0.213 340.7)
XYZxyz(32.7446, 18.2084, 36.9049)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A4 #38CB5F
analogous
#A838CB #CB38A4 #CB385A
triadic
#CB38A4 #A4CB38 #38A4CB
tetradic
#CB38A4 #CBA838 #38CB5F #385ACB
square
#CB38A4 #CBA838 #38CB5F #385ACB
split-complementary
#CB38A4 #5ACB38 #38CBA8
monochromatic
#6C1C57 #9D297E #CB38A4 #D869BA #E499D0

Accessibility & contrast

On white

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

On black

4.64
#CB38A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38A4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38A4#FFFFFF#000000##000000
##CB38A41.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb38a4;
/* rgb */ color: rgb(203, 56, 164);
/* oklch */ color: oklch(59.5% 0.212 340.7);
Tailwind
colors: {
  custom: {
    50: '#df7cbf',
    500: '#cb38a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a4;
$custom-light: #df7cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a4",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 164
  },
  "hsl": {
    "h": 315.918,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.2125,
    "h": 340.7
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB38A4

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

Preview Lab → · Contrast checker → · Palette generator →

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