#AF2B45#AF2B45

#AF2B45 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.167 H 14.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2B45
RGBrgb(175, 43, 69)
HSLhsl(348, 61%, 43%)
HSVhsv(348, 75%, 69%)
CMYKcmyk(0%, 75.4%, 60.6%, 31.4%)
CIE-LABlab(40.04, 53.95, 17.38)
CIE-LCHlch(40.04, 56.68, 17.85°)
OKLaboklab(50.42% 0.162 0.0426)
OKLCHoklch(50.42% 0.167 14.7)
XYZxyz(19.6192, 11.2742, 6.7721)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B45 #2BAF95
analogous
#AF2B87 #AF2B45 #AF532B
triadic
#AF2B45 #45AF2B #2B45AF
tetradic
#AF2B45 #87AF2B #2BAF95 #532BAF
square
#AF2B45 #87AF2B #2BAF95 #532BAF
split-complementary
#AF2B45 #2BAF53 #2B87AF
monochromatic
#4D131E #7E1F32 #AF2B45 #D14661 #DE778B

Accessibility & contrast

On white

6.45
#AF2B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AF2B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B45
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B45#FFFFFF#000000##FFFFFF
##AF2B451.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4D45
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2b45;
/* rgb */ color: rgb(175, 43, 69);
/* oklch */ color: oklch(50.4% 0.167 14.7);
Tailwind
colors: {
  custom: {
    50: '#ce7078',
    500: '#af2b45',
    950: '#000000',
  },
}
SCSS
$custom: #af2b45;
$custom-light: #ce7078;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b45",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 69
  },
  "hsl": {
    "h": 348.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.16749,
    "h": 14.7
  },
  "luminance": 0.11271
}

Semantic roles & 50–950 ramp

primary
#AF2B45
secondary
#70C5B5
accent
#E4C444
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2B45

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

Preview Lab → · Contrast checker → · Palette generator →

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