#CF5257#CF5257

#CF5257 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.4% C 0.159 H 20.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF5257
RGBrgb(207, 82, 87)
HSLhsl(358, 57%, 57%)
HSVhsv(358, 60%, 81%)
CMYKcmyk(0%, 60.4%, 58%, 18.8%)
CIE-LABlab(51.83, 49.85, 23.04)
CIE-LCHlch(51.83, 54.92, 24.81°)
OKLaboklab(60.4% 0.1483 0.0564)
OKLCHoklch(60.4% 0.159 20.8)
XYZxyz(30.4724, 19.9920, 11.2692)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5257 #52CFCA
analogous
#CF5296 #CF5257 #CF8C52
triadic
#CF5257 #57CF52 #5257CF
tetradic
#CF5257 #96CF52 #52CFCA #8C52CF
square
#CF5257 #96CF52 #52CFCA #8C52CF
split-complementary
#CF5257 #52CF8C #5296CF
monochromatic
#822428 #B23137 #CF5257 #DC8286 #EAB2B4

Accessibility & contrast

On white

4.20
#CF5257 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF5257 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5257
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5257#FFFFFF#000000##000000
##CF52571.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#716B56
Deuteranopia (green-blind)
#908554
Tritanopia (blue-blind)
#E23B55
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5257;
/* rgb */ color: rgb(207, 82, 87);
/* oklch */ color: oklch(60.4% 0.159 20.8);
Tailwind
colors: {
  custom: {
    50: '#e48886',
    500: '#cf5257',
    950: '#000000',
  },
}
SCSS
$custom: #cf5257;
$custom-light: #e48886;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5257",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 87
  },
  "hsl": {
    "h": 357.6,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60395,
    "c": 0.15861,
    "h": 20.8
  },
  "luminance": 0.19988
}

Semantic roles & 50–950 ramp

primary
#CF5257
secondary
#A5D8D6
accent
#E0DA48
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#170C0B
muted
#857D7C

Preview Lab

Preview with #CF5257

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

Preview Lab → · Contrast checker → · Palette generator →

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