#AF4962#AF4962

#AF4962 is a mid, vivid red. Relative luminance 0.148; OKLCH L 54.6% C 0.135 H 7.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF4962
RGBrgb(175, 73, 98)
HSLhsl(345, 41%, 49%)
HSVhsv(345, 58%, 69%)
CMYKcmyk(0%, 58.3%, 44%, 31.4%)
CIE-LABlab(45.31, 43.98, 6.64)
CIE-LCHlch(45.31, 44.47, 8.59°)
OKLaboklab(54.58% 0.1337 0.0175)
OKLCHoklch(54.58% 0.135 7.5)
XYZxyz(22.2678, 14.7634, 13.2299)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4962 #49AF96
analogous
#AF4995 #AF4962 #AF6349
triadic
#AF4962 #62AF49 #4962AF
tetradic
#AF4962 #95AF49 #49AF96 #6349AF
square
#AF4962 #95AF49 #49AF96 #6349AF
split-complementary
#AF4962 #49AF63 #4995AF
monochromatic
#592532 #84374A #AF4962 #C47186 #D69CAB

Accessibility & contrast

On white

5.31
#AF4962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#AF4962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4962
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4962#FFFFFF#000000##FFFFFF
##AF49621.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5F63
Deuteranopia (green-blind)
#787360
Tritanopia (blue-blind)
#BD3D52
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4962;
/* rgb */ color: rgb(175, 73, 98);
/* oklch */ color: oklch(54.6% 0.135 7.5);
Tailwind
colors: {
  custom: {
    50: '#cb808e',
    500: '#af4962',
    950: '#000000',
  },
}
SCSS
$custom: #af4962;
$custom-light: #cb808e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4962",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 98
  },
  "hsl": {
    "h": 345.294,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.13485,
    "h": 7.5
  },
  "luminance": 0.14761
}

Semantic roles & 50–950 ramp

primary
#AF4962
secondary
#91C2B6
accent
#D1B357
background
#FDF8F8
surface
#FAEFF0
border
#D3CACB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4962

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

Preview Lab → · Contrast checker → · Palette generator →

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