#CF342E#CF342E

#CF342E is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.5% C 0.193 H 27.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CF342E
RGBrgb(207, 52, 46)
HSLhsl(2, 64%, 50%)
HSVhsv(2, 78%, 81%)
CMYKcmyk(0%, 74.9%, 77.8%, 18.8%)
CIE-LABlab(46.87, 59.52, 40.76)
CIE-LCHlch(46.87, 72.14, 34.40°)
OKLaboklab(56.49% 0.1708 0.0892)
OKLCHoklch(56.49% 0.193 27.6)
XYZxyz(27.4565, 15.9230, 4.2120)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF342E #2EC9CF
analogous
#CF2E79 #CF342E #CF852E
triadic
#CF342E #2ECF34 #342ECF
tetradic
#CF342E #79CF2E #2EC9CF #852ECF
square
#CF342E #79CF2E #2EC9CF #852ECF
split-complementary
#CF342E #2ECF85 #2E79CF
monochromatic
#6B1B18 #9D2723 #CF342E #DB635F #E79491

Accessibility & contrast

On white

5.02
#CF342E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#CF342E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF342E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF342E#FFFFFF#000000##FFFFFF
##CF342E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2B
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#E40035
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cf342e;
/* rgb */ color: rgb(207, 52, 46);
/* oklch */ color: oklch(56.5% 0.193 27.6);
Tailwind
colors: {
  custom: {
    50: '#e77868',
    500: '#cf342e',
    950: '#000000',
  },
}
SCSS
$custom: #cf342e;
$custom-light: #e77868;
$custom-dark: #000000;
JSON
{
  "hex": "#cf342e",
  "rgb": {
    "r": 207,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 2.236,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.1927,
    "h": 27.6
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#CF342E
secondary
#88CED1
accent
#E0E741
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CF342E

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

Preview Lab → · Contrast checker → · Palette generator →

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