#CF505F#CF505F

#CF505F is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.3% C 0.161 H 16.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CF505F
RGBrgb(207, 80, 95)
HSLhsl(353, 57%, 56%)
HSVhsv(353, 61%, 81%)
CMYKcmyk(0%, 61.4%, 54.1%, 18.8%)
CIE-LABlab(51.65, 51.36, 18.06)
CIE-LCHlch(51.65, 54.44, 19.37°)
OKLaboklab(60.31% 0.1542 0.0451)
OKLCHoklch(60.31% 0.161 16.3)
XYZxyz(30.6690, 19.8328, 13.0374)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF505F #50CFC0
analogous
#CF509F #CF505F #CF8150
triadic
#CF505F #5FCF50 #505FCF
tetradic
#CF505F #9FCF50 #50CFC0 #8150CF
square
#CF505F #9FCF50 #50CFC0 #8150CF
split-complementary
#CF505F #50CF81 #509FCF
monochromatic
#81232F #B13140 #CF505F #DC808B #E9B0B7

Accessibility & contrast

On white

4.23
#CF505F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CF505F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF505F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF505F#FFFFFF#000000##000000
##CF505F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B5F
Deuteranopia (green-blind)
#8E855C
Tritanopia (blue-blind)
#E23A56
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf505f;
/* rgb */ color: rgb(207, 80, 95);
/* oklch */ color: oklch(60.3% 0.161 16.3);
Tailwind
colors: {
  custom: {
    50: '#e3878c',
    500: '#cf505f',
    950: '#000000',
  },
}
SCSS
$custom: #cf505f;
$custom-light: #e3878c;
$custom-dark: #000000;
JSON
{
  "hex": "#cf505f",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 95
  },
  "hsl": {
    "h": 352.913,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6031,
    "c": 0.16068,
    "h": 16.3
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#CF505F
secondary
#A3D8D1
accent
#E0CE48
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#170C0C
muted
#857D7D

Preview Lab

Preview with #CF505F

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

Preview Lab → · Contrast checker → · Palette generator →

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