#CF404F#CF404F

#CF404F is a mid, vivid red. Relative luminance 0.175; OKLCH L 58.1% C 0.179 H 18.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CF404F
RGBrgb(207, 64, 79)
HSLhsl(354, 60%, 53%)
HSVhsv(354, 69%, 81%)
CMYKcmyk(0%, 69.1%, 61.8%, 18.8%)
CIE-LABlab(48.88, 56.85, 23.96)
CIE-LCHlch(48.88, 61.69, 22.85°)
OKLaboklab(58.14% 0.1691 0.0579)
OKLCHoklch(58.14% 0.179 18.9)
XYZxyz(28.9797, 17.5008, 9.2476)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF404F #40CFC0
analogous
#CF4097 #CF404F #CF7840
triadic
#CF404F #4FCF40 #404FCF
tetradic
#CF404F #97CF40 #40CFC0 #7840CF
square
#CF404F #97CF40 #40CFC0 #7840CF
split-complementary
#CF404F #40CF78 #4097CF
monochromatic
#771E27 #A82A37 #CF404F #DB717C #E8A2A9

Accessibility & contrast

On white

4.67
#CF404F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CF404F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF404F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF404F#FFFFFF#000000##FFFFFF
##CF404F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66614F
Deuteranopia (green-blind)
#8A7F4B
Tritanopia (blue-blind)
#E31A47
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cf404f;
/* rgb */ color: rgb(207, 64, 79);
/* oklch */ color: oklch(58.1% 0.179 18.9);
Tailwind
colors: {
  custom: {
    50: '#e57e80',
    500: '#cf404f',
    950: '#000000',
  },
}
SCSS
$custom: #cf404f;
$custom-light: #e57e80;
$custom-dark: #000000;
JSON
{
  "hex": "#cf404f",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 353.706,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58144,
    "c": 0.17872,
    "h": 18.9
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#CF404F
secondary
#97D4CE
accent
#E3D245
background
#FFF8F7
surface
#FEEFEE
border
#D6CAC9
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #CF404F

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

Preview Lab → · Contrast checker → · Palette generator →

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