#CB38A7#CB38A7

#CB38A7 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.6% C 0.214 H 339.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CB38A7
RGBrgb(203, 56, 167)
HSLhsl(315, 59%, 51%)
HSVhsv(315, 72%, 80%)
CMYKcmyk(0%, 72.4%, 17.7%, 20.4%)
CIE-LABlab(49.88, 67.52, -27.65)
CIE-LCHlch(49.88, 72.97, 337.73°)
OKLaboklab(59.63% 0.201 -0.0747)
OKLCHoklch(59.63% 0.214 339.6)
XYZxyz(33.0187, 18.3181, 38.3485)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB38A7 #38CB5C
analogous
#A538CB #CB38A7 #CB385D
triadic
#CB38A7 #A7CB38 #38A7CB
tetradic
#CB38A7 #CBA538 #38CB5C #385DCB
square
#CB38A7 #CBA538 #38CB5C #385DCB
split-complementary
#CB38A7 #5DCB38 #38CBA5
monochromatic
#6C1C59 #9D2980 #CB38A7 #D869BC #E499D2

Accessibility & contrast

On white

4.50
#CB38A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CB38A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB38A7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB38A7#FFFFFF#000000##000000
##CB38A71.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4168AA
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#D73D6B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb38a7;
/* rgb */ color: rgb(203, 56, 167);
/* oklch */ color: oklch(59.6% 0.214 339.6);
Tailwind
colors: {
  custom: {
    50: '#df7cc1',
    500: '#cb38a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb38a7;
$custom-light: #df7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb38a7",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 314.694,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5963,
    "c": 0.21441,
    "h": 339.6
  },
  "luminance": 0.18315
}

Semantic roles & 50–950 ramp

primary
#CB38A7
secondary
#8FD09F
accent
#E26C46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB38A7

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

Preview Lab → · Contrast checker → · Palette generator →

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