#CA5157#CA5157

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

Color values

HEX#CA5157
RGBrgb(202, 81, 87)
HSLhsl(357, 53%, 55%)
HSVhsv(357, 60%, 79%)
CMYKcmyk(0%, 59.9%, 56.9%, 20.8%)
CIE-LABlab(50.84, 48.58, 21.59)
CIE-LCHlch(50.84, 53.16, 23.97°)
OKLaboklab(59.5% 0.1448 0.0531)
OKLCHoklch(59.5% 0.154 20.1)
XYZxyz(29.0224, 19.1332, 11.1797)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5157 #51CAC4
analogous
#CA5193 #CA5157 #CA8751
triadic
#CA5157 #57CA51 #5157CA
tetradic
#CA5157 #93CA51 #51CAC4 #8751CA
square
#CA5157 #93CA51 #51CAC4 #8751CA
split-complementary
#CA5157 #51CA87 #5193CA
monochromatic
#7B252A #AA343A #CA5157 #D88084 #E7AFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5157#FFFFFF#000000##000000
##CA51571.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)
#6E6956
Deuteranopia (green-blind)
#8D8354
Tritanopia (blue-blind)
#DC3B54
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca5157;
/* rgb */ color: rgb(202, 81, 87);
/* oklch */ color: oklch(59.5% 0.154 20.1);
Tailwind
colors: {
  custom: {
    50: '#e08786',
    500: '#ca5157',
    950: '#000000',
  },
}
SCSS
$custom: #ca5157;
$custom-light: #e08786;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5157",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 357.025,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59497,
    "c": 0.1542,
    "h": 20.1
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5157

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

Preview Lab → · Contrast checker → · Palette generator →

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