#CD5157#CD5157

#CD5157 is a mid, vivid red. Relative luminance 0.196; OKLCH L 60.0% C 0.158 H 20.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CD5157
RGBrgb(205, 81, 87)
HSLhsl(357, 55%, 56%)
HSVhsv(357, 60%, 80%)
CMYKcmyk(0%, 60.5%, 57.6%, 19.6%)
CIE-LABlab(51.33, 49.61, 22.33)
CIE-LCHlch(51.33, 54.41, 24.23°)
OKLaboklab(59.96% 0.1477 0.0547)
OKLCHoklch(59.96% 0.158 20.3)
XYZxyz(29.8422, 19.5559, 11.2182)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5157 #51CDC7
analogous
#CD5195 #CD5157 #CD8951
triadic
#CD5157 #57CD51 #5157CD
tetradic
#CD5157 #95CD51 #51CDC7 #8951CD
square
#CD5157 #95CD51 #51CDC7 #8951CD
split-complementary
#CD5157 #51CD89 #5195CD
monochromatic
#7F2529 #AF3238 #CD5157 #DB8185 #E8B0B3

Accessibility & contrast

On white

4.28
#CD5157 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CD5157 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5157
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5157#FFFFFF#000000##000000
##CD51571.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6A56
Deuteranopia (green-blind)
#8F8454
Tritanopia (blue-blind)
#E03A54
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd5157;
/* rgb */ color: rgb(205, 81, 87);
/* oklch */ color: oklch(60.0% 0.158 20.3);
Tailwind
colors: {
  custom: {
    50: '#e28786',
    500: '#cd5157',
    950: '#000000',
  },
}
SCSS
$custom: #cd5157;
$custom-light: #e28786;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5157",
  "rgb": {
    "r": 205,
    "g": 81,
    "b": 87
  },
  "hsl": {
    "h": 357.097,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.15754,
    "h": 20.3
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#CD5157
secondary
#A3D7D4
accent
#DFD749
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#170C0B
muted
#857D7C

Preview Lab

Preview with #CD5157

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

Preview Lab → · Contrast checker → · Palette generator →

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