#AF2F48#AF2F48

#AF2F48 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.9% C 0.164 H 14.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF2F48
RGBrgb(175, 47, 72)
HSLhsl(348, 58%, 44%)
HSVhsv(348, 73%, 69%)
CMYKcmyk(0%, 73.1%, 58.9%, 31.4%)
CIE-LABlab(40.60, 52.76, 16.24)
CIE-LCHlch(40.60, 55.21, 17.11°)
OKLaboklab(50.86% 0.1587 0.0402)
OKLCHoklch(50.86% 0.164 14.2)
XYZxyz(19.8674, 11.6177, 7.3259)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F48 #2FAF96
analogous
#AF2F88 #AF2F48 #AF562F
triadic
#AF2F48 #48AF2F #2F48AF
tetradic
#AF2F48 #88AF2F #2FAF96 #562FAF
square
#AF2F48 #88AF2F #2FAF96 #562FAF
split-complementary
#AF2F48 #2FAF56 #2F88AF
monochromatic
#4F1520 #7F2234 #AF2F48 #CF4C66 #DC7C8F

Accessibility & contrast

On white

6.32
#AF2F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF2F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F48
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F48#FFFFFF#000000##FFFFFF
##AF2F481.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F48
Deuteranopia (green-blind)
#726945
Tritanopia (blue-blind)
#C00839
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f48;
/* rgb */ color: rgb(175, 47, 72);
/* oklch */ color: oklch(50.9% 0.164 14.2);
Tailwind
colors: {
  custom: {
    50: '#cd727a',
    500: '#af2f48',
    950: '#000000',
  },
}
SCSS
$custom: #af2f48;
$custom-light: #cd727a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f48",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 72
  },
  "hsl": {
    "h": 348.281,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.16369,
    "h": 14.2
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#AF2F48
secondary
#75C4B5
accent
#E1C347
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2F48

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

Preview Lab → · Contrast checker → · Palette generator →

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