#CB5271#CB5271

#CB5271 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.156 H 7.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB5271
RGBrgb(203, 82, 113)
HSLhsl(345, 54%, 56%)
HSVhsv(345, 60%, 80%)
CMYKcmyk(0%, 59.6%, 44.3%, 20.4%)
CIE-LABlab(51.75, 50.75, 7.35)
CIE-LCHlch(51.75, 51.28, 8.24°)
OKLaboklab(60.4% 0.1544 0.0194)
OKLCHoklch(60.4% 0.156 7.2)
XYZxyz(30.6287, 19.9269, 17.8529)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5271 #52CBAC
analogous
#CB52AD #CB5271 #CB6F52
triadic
#CB5271 #71CB52 #5271CB
tetradic
#CB5271 #ADCB52 #52CBAC #6F52CB
square
#CB5271 #ADCB52 #52CBAC #6F52CB
split-complementary
#CB5271 #52CB6F #52ADCB
monochromatic
#7D263C #AC3453 #CB5271 #D98198 #E7B0BE

Accessibility & contrast

On white

4.21
#CB5271 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB5271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5271
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5271#FFFFFF#000000##000000
##CB52711.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C72
Deuteranopia (green-blind)
#8A846E
Tritanopia (blue-blind)
#DC435E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb5271;
/* rgb */ color: rgb(203, 82, 113);
/* oklch */ color: oklch(60.4% 0.156 7.2);
Tailwind
colors: {
  custom: {
    50: '#df8899',
    500: '#cb5271',
    950: '#000000',
  },
}
SCSS
$custom: #cb5271;
$custom-light: #df8899;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5271",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 344.628,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60401,
    "c": 0.1556,
    "h": 7.2
  },
  "luminance": 0.19923
}

Semantic roles & 50–950 ramp

primary
#CB5271
secondary
#A3D5C9
accent
#DDB84B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CB5271

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

Preview Lab → · Contrast checker → · Palette generator →

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