#CB3271#CB3271

#CB3271 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.0% C 0.194 H 0.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB3271
RGBrgb(203, 50, 113)
HSLhsl(335, 60%, 50%)
HSVhsv(335, 75%, 80%)
CMYKcmyk(0%, 75.4%, 44.3%, 20.4%)
CIE-LABlab(47.20, 63.22, 0.80)
CIE-LCHlch(47.20, 63.23, 0.72°)
OKLaboklab(57.02% 0.1941 0.0028)
OKLCHoklch(57.02% 0.194 0.8)
XYZxyz(28.7521, 16.1738, 17.2274)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3271 #32CB8C
analogous
#CB32BE #CB3271 #CB4032
triadic
#CB3271 #71CB32 #3271CB
tetradic
#CB3271 #BECB32 #32CB8C #4032CB
square
#CB3271 #BECB32 #32CB8C #4032CB
split-complementary
#CB3271 #32CB40 #32BECB
monochromatic
#691A3A #9A2656 #CB3271 #D86293 #E493B5

Accessibility & contrast

On white

4.96
#CB3271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CB3271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3271
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3271#FFFFFF#000000##FFFFFF
##CB32711.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D73
Deuteranopia (green-blind)
#7E7B6D
Tritanopia (blue-blind)
#DC144D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cb3271;
/* rgb */ color: rgb(203, 50, 113);
/* oklch */ color: oklch(57.0% 0.194 0.8);
Tailwind
colors: {
  custom: {
    50: '#e17899',
    500: '#cb3271',
    950: '#000000',
  },
}
SCSS
$custom: #cb3271;
$custom-light: #e17899;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3271",
  "rgb": {
    "r": 203,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 335.294,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.19407,
    "h": 0.8
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#CB3271
secondary
#89CFB3
accent
#E4A244
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CB3271

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

Preview Lab → · Contrast checker → · Palette generator →

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