#CA5158#CA5158

#CA5158 is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.5% C 0.154 H 19.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA5158
RGBrgb(202, 81, 88)
HSLhsl(357, 53%, 55%)
HSVhsv(357, 60%, 79%)
CMYKcmyk(0%, 59.9%, 56.4%, 20.8%)
CIE-LABlab(50.86, 48.65, 21.03)
CIE-LCHlch(50.86, 53.00, 23.37°)
OKLaboklab(59.52% 0.1452 0.0518)
OKLCHoklch(59.52% 0.154 19.6)
XYZxyz(29.0635, 19.1497, 11.3964)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5158 #51CAC3
analogous
#CA5194 #CA5158 #CA8651
triadic
#CA5158 #58CA51 #5158CA
tetradic
#CA5158 #94CA51 #51CAC3 #8651CA
square
#CA5158 #94CA51 #51CAC3 #8651CA
split-complementary
#CA5158 #51CA86 #5194CA
monochromatic
#7B252A #AA343B #CA5158 #D88085 #E7AFB2

Accessibility & contrast

On white

4.35
#CA5158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CA5158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5158
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5158#FFFFFF#000000##000000
##CA51581.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6957
Deuteranopia (green-blind)
#8D8355
Tritanopia (blue-blind)
#DC3C54
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca5158;
/* rgb */ color: rgb(202, 81, 88);
/* oklch */ color: oklch(59.5% 0.154 19.6);
Tailwind
colors: {
  custom: {
    50: '#e08787',
    500: '#ca5158',
    950: '#000000',
  },
}
SCSS
$custom: #ca5158;
$custom-light: #e08787;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5158",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 88
  },
  "hsl": {
    "h": 356.529,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.15415,
    "h": 19.6
  },
  "luminance": 0.19146
}

Semantic roles & 50–950 ramp

primary
#CA5158
secondary
#A2D5D2
accent
#DDD44B
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C

Preview Lab

Preview with #CA5158

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

Preview Lab → · Contrast checker → · Palette generator →

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