#CB5162#CB5162

#CB5162 is a mid, vivid red. Relative luminance 0.195; OKLCH L 59.9% C 0.155 H 14.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB5162
RGBrgb(203, 81, 98)
HSLhsl(352, 54%, 56%)
HSVhsv(352, 60%, 80%)
CMYKcmyk(0%, 60.1%, 51.7%, 20.4%)
CIE-LABlab(51.23, 49.81, 15.59)
CIE-LCHlch(51.23, 52.19, 17.38°)
OKLaboklab(59.89% 0.1501 0.0393)
OKLCHoklch(59.89% 0.155 14.7)
XYZxyz(29.7780, 19.4669, 13.7423)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5162 #51CBBA
analogous
#CB519F #CB5162 #CB7D51
triadic
#CB5162 #62CB51 #5162CB
tetradic
#CB5162 #9FCB51 #51CBBA #7D51CB
square
#CB5162 #9FCB51 #51CBBA #7D51CB
split-complementary
#CB5162 #51CB7D #519FCB
monochromatic
#7C2531 #AC3344 #CB5162 #D9808D #E7AFB7

Accessibility & contrast

On white

4.29
#CB5162 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB5162 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5162
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5162#FFFFFF#000000##000000
##CB51621.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6A62
Deuteranopia (green-blind)
#8C835F
Tritanopia (blue-blind)
#DD3E58
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb5162;
/* rgb */ color: rgb(203, 81, 98);
/* oklch */ color: oklch(59.9% 0.155 14.7);
Tailwind
colors: {
  custom: {
    50: '#e0878e',
    500: '#cb5162',
    950: '#000000',
  },
}
SCSS
$custom: #cb5162;
$custom-light: #e0878e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5162",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 351.639,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.15516,
    "h": 14.7
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#CB5162
secondary
#A3D5CE
accent
#DDC94A
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CB5162

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

Preview Lab → · Contrast checker → · Palette generator →

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