#CB4271#CB4271

#CB4271 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.5% C 0.176 H 3.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CB4271
RGBrgb(203, 66, 113)
HSLhsl(339, 57%, 53%)
HSVhsv(339, 67%, 80%)
CMYKcmyk(0%, 67.5%, 44.3%, 20.4%)
CIE-LABlab(49.24, 57.56, 3.75)
CIE-LCHlch(49.24, 57.68, 3.73°)
OKLaboklab(58.53% 0.176 0.0103)
OKLCHoklch(58.53% 0.176 3.3)
XYZxyz(29.5597, 17.7889, 17.4966)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4271 #42CB9C
analogous
#CB42B5 #CB4271 #CB5742
triadic
#CB4271 #71CB42 #4271CB
tetradic
#CB4271 #B5CB42 #42CB9C #5742CB
square
#CB4271 #B5CB42 #42CB9C #5742CB
split-complementary
#CB4271 #42CB57 #42B5CB
monochromatic
#73203C #A32D55 #CB4271 #D87295 #E5A2B9

Accessibility & contrast

On white

4.61
#CB4271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CB4271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4271
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4271#FFFFFF#000000##FFFFFF
##CB42711.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6472
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#DC2F55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4271;
/* rgb */ color: rgb(203, 66, 113);
/* oklch */ color: oklch(58.5% 0.176 3.3);
Tailwind
colors: {
  custom: {
    50: '#e07f99',
    500: '#cb4271',
    950: '#000000',
  },
}
SCSS
$custom: #cb4271;
$custom-light: #e07f99;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4271",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 339.416,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58528,
    "c": 0.17625,
    "h": 3.3
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#CB4271
secondary
#97D2BE
accent
#E0AC48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB4271

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

Preview Lab → · Contrast checker → · Palette generator →

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